Changeset 0.37.19 (#232)

Co-authored-by: gobha <jasafpro@gmail.com>
Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
2026-03-25 00:26:44 +00:00
committed by xcaliber
parent 54ceeb4299
commit be67feaa8e
21 changed files with 173 additions and 88 deletions

View File

@@ -5,6 +5,11 @@
// then post-processes wikilinks into clickable chips
// and transclusion blocks.
// Independently importable.
//
// NOTE (CR P3-17): Uses raw DOM (innerHTML, querySelector, addEventListener)
// for post-render wikilink processing. This is intentional — Preact renders
// the initial HTML, then this module post-processes specific elements for
// interactive behavior. The lifecycle is managed by the parent component.
const WIKILINK_RE = /(!?)\[\[([^\[\]|]+?)(?:\|([^\]]+?))?\]\]/g;