Fix openTag, separator and closeTag undeclared
This commit is contained in:
@@ -79,6 +79,7 @@ const COLORS = {
|
||||
// --- Editor ---
|
||||
|
||||
function buildHighlightedHtml(raw, syntax, presetIndex) {
|
||||
const { openTag, separator, closeTag } = parseSyntax(syntax);
|
||||
const pattern = buildPattern(syntax);
|
||||
let result = "";
|
||||
let lastIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user