Skip to content

[3.0] Correctly restores original content of code BBC in MarkdownParser - #9509

Merged
Sesquipedalian merged 1 commit into
SimpleMachines:release-3.0from
Sesquipedalian:3.0/markdown_code
Aug 13, 2026
Merged

[3.0] Correctly restores original content of code BBC in MarkdownParser#9509
Sesquipedalian merged 1 commit into
SimpleMachines:release-3.0from
Sesquipedalian:3.0/markdown_code

Conversation

@Sesquipedalian

@Sesquipedalian Sesquipedalian commented Aug 13, 2026

Copy link
Copy Markdown
Member

Fixes a bug introduced in #9332.

Specifically, the content of [code] BBC tags was being replaced with an md5 hash of that content. This bug arose when the HTML output of the [code] BBC was changed to wrap the <code> tags in <pre> tags.

By simply processing <pre> before <code> in the Markdown parser, we can prevent that issue from arising.

Fixes a bug introduced in SimpleMachines#9332

Signed-off-by: Jon Stovell <jonstovell@gmail.com>
@Sesquipedalian Sesquipedalian added this to the 3.0 Alpha 5 milestone Aug 13, 2026
@Sesquipedalian
Sesquipedalian merged commit f0b7d23 into SimpleMachines:release-3.0 Aug 13, 2026
4 checks passed
@Sesquipedalian
Sesquipedalian deleted the 3.0/markdown_code branch August 13, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants