MCPcopy Index your code
hub / github.com/panphora/overtype / applyCustomSyntax

Method applyCustomSyntax

src/parser.js:47–52  ·  view source on GitHub ↗

* Apply custom syntax processor to parsed HTML * @param {string} html - Parsed HTML line * @returns {string} HTML with custom syntax applied

(html)

Source from the content-addressed store, hash-verified

45 * @returns {string} HTML with custom syntax applied
46 */
47 static applyCustomSyntax(html) {
48 if (this.customSyntax) {
49 return this.customSyntax(html);
50 }
51 return html;
52 }
53
54 /**
55 * Escape HTML special characters

Callers 1

parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected