* Apply custom syntax processor to parsed HTML * @param {string} html - Parsed HTML line * @returns {string} HTML with custom syntax applied
(html)
| 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 |