HomePhorge

Allow unknown closing tags to be parsed
bded91d838fbUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Allow unknown closing tags to be parsed

Previously, input that included closing tags that didn't have their
opening counterpart, would make the parser return an error.

Changes end_tag to only match known tags and removes the closing tag
check from :parse_tree.

Previously broken input: "this is some text containing [/b]"

Details

Provenance
PhantasmAuthored on Mar 3 2026, 8:34 AM
Parents
R10:578efc8a9fa5: Fix misparsing on stray brackets
Branches
Unknown
Tags
Unknown

Event Timeline