fix highlight

This commit is contained in:
Pete Matsyburka
2026-02-23 08:31:38 +02:00
parent cbffb1e5b8
commit 246ccfb049
+1 -1
View File
@@ -153,7 +153,7 @@ export default actionable(targetable(class extends HTMLElement {
const buildDecorations = (doc) => {
const decorations = []
const regex = /\{[a-zA-Z0-9_.-]+\}/g
const regex = /\{\{?[a-zA-Z0-9_.-]+\}\}?/g
doc.descendants((node, pos) => {
if (!node.isText) return