MCPcopy Create free account
hub / github.com/witheve/Eve / parseEntity

Function parseEntity

src/commonmark.js:1746–1754  ·  view source on GitHub ↗
(block)

Source from the content-addressed store, hash-verified

1744
1745// Attempt to parse an entity.
1746var parseEntity = function(block) {
1747 var m;
1748 if ((m = this.match(reEntityHere))) {
1749 block.appendChild(text(decodeHTML(m)));
1750 return true;
1751 } else {
1752 return false;
1753 }
1754};
1755
1756// Parse a run of ordinary characters, or a single character with
1757// a special meaning in markdown, as a plain string.

Callers

nothing calls this directly

Calls 2

textFunction · 0.85
matchMethod · 0.80

Tested by

no test coverage detected