nl_tokens: Replaces the original text nodes with the newly auto - linked dom tree
pl_tokens: function _wrapMatchesInNode ( textNode ) { var parentNode = textNode . parentNode , tempElement = _getTempElement ( parentNode . ownerDocument ) ; // We need to insert an empty/temporary <span /> to fix IE quirks // Elsewise IE would strip white space in the beginning tempElement . innerHTML = "<span></span>" + _convertUrlsToLinks ( textNode . <mask> ) ; tempElement . removeChild ( tempElement . firstChild ) ; while ( tempElement . firstChild ) { // inserts tempElement.firstChild before textNode parentNode . insertBefore ( tempElement . firstChild , textNode ) ; } parentNode . removeChild ( textNode ) ; }