Fix openTag, separator and closeTag undeclared

This commit is contained in:
relhamdi
2026-05-18 01:15:51 +02:00
parent 8a1dfe0c89
commit 466fb88f6b
+1
View File
@@ -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;