Clipper/joplin-webclipper/content_scripts/JSDOMParser.js
function (quote) {
      var str;
      var n = this.html.indexOf(quote, this.currentChar);
      if (n === -1) {
        this.currentChar = this.html.length;
        str = null;
      } else {
        str = this.html.substring(this.currentChar, n);
        this.currentChar = n + 1;
      }

      return str;
    }
function (quote) {
      var str;
      var n = this.html.indexOf(quote, this.currentChar);
      if (n === -1) {
        this.currentChar = this.html.length;
        str = null;
      } else {
        str = this.html.substring(this.currentChar, n);
        this.currentChar = n + 1;
      }

      return str;
    }
function ( quote ) { var str ; var n = this . html . indexOf ( quote , this . currentChar ) ; if ( n === - 1 ) { this . currentChar = this . html . length ; str = null ; } else { str = this . html . substring ( this . currentChar , n ) ; this . currentChar = n + 1 ; } return str ; }
Called after a quote character is read. This finds the next quote
character and returns the text string in between.
Called after a quote character is read . This finds the next quote character and returns the text string in between .