You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
:: at the start of plain text is escaped too weakly, so it becomes a textDirective after round-trip. #14
The escape rule writes \: before a following :. After decoding the
backslash-escape, the text still contains ::a}. On re-parse, the
directive scanner sees ::a as a text directive start, so a textDirective
node appears in tree₂ that wasn't in tree₁.
Actual behavior
A textDirective node is introduced on re-parse. The escape rule escapes one
colon, but the surviving decoded text still contains ::.
Possible fixes:
escape both colons of a leading :: run, or
use a numeric character reference (:) for one of them, or
widen the escape context to match any :: prefix, not just : + :.
Expected behavior
Text that does not originally parse as a directive should not become one
after round-trip.
Activity
github-actions commentedon Oct 3, 2026