lib/HTMLParser.js
function emitCharString(s) {
    if (textrun.length > 0) flushText();

    if (ignore_linefeed) {
      ignore_linefeed = false;
      if (s[0] === "\n") s = s.substring(1);
      if (s.length === 0) return;
    }

    insertToken(TEXT, s);
  }
function emitCharString(s) {
    if (textrun.length > 0) flushText();

    if (ignore_linefeed) {
      ignore_linefeed = false;
      if (s[0] === "\n") s = s.substring(1);
      if (s.length === 0) return;
    }

    insertToken(TEXT, s);
  }
function emitCharString ( s ) { if ( textrun . length > 0 ) flushText ( ) ; if ( ignore_linefeed ) { ignore_linefeed = false ; if ( s [ 0 ] === "\n" ) s = s . substring ( 1 ) ; if ( s . length === 0 ) return ; } insertToken ( TEXT , s ) ; }
This is used by CDATA sections
This is used by CDATA sections