Created on 7 November 2016, about 8 years ago
Updated 3 February 2023, almost 2 years ago

There's a fairly simple quirks algorithm that could be applied to malformed BBCode, which seems to be the algorithm used by Mozilla at least:

When breaking dangling open tags, append them as closed tags, then push new open tags onto the stack. (Effectively acting as though every bad [/tag] is preceded by the correct sequence of closing tags, followed by the same sequence of opening tags in reverse order.)

(This would be an opt-in feature, of course.)

✨ Feature request
Status

Active

Version

5.0

Component

Core

Created by

πŸ‡¨πŸ‡­Switzerland cburschka

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024