[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Plugins/Autoemail/ -> Parser.js (source)

   1  var tagName  = config.tagName,
   2      attrName = config.attrName;
   3  
   4  matches.forEach(function(m)
   5  {
   6      // Create a zero-width start tag right before the address
   7      var startTag = addStartTag(tagName, m[0][1], 0);
   8      startTag.setAttribute(attrName, m[0][0]);
   9  
  10      // Create a zero-width end tag right after the address
  11      var endTag = addEndTag(tagName, m[0][1] + m[0][0].length, 0);
  12  
  13      // Pair the tags together
  14      startTag.pairWith(endTag);
  15  });


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1