Skip to content

Conversation

Crozzers
Copy link
Contributor

@Crozzers Crozzers commented Sep 28, 2025

This PR fixes #638.

The issue was in the following snippet:

a_b this should be **bold** c_d this is **bold**

Code friendly would recognise the text in-between the 2 underscores as a potential <em>. It would hash that entire section to protect it from being turned into an <em>, but this also prevented the contents of that substring from being processed, including the <strong> in the middle.

This is fixed by simply hashing the _ characters instead, leaving the contents available to be processed as normal.

@nicholasserra nicholasserra merged commit 8d50892 into trentm:master Sep 29, 2025
15 checks passed
@nicholasserra
Copy link
Collaborator

LGTM Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

code-friendly prevents unrelated text from conversion

2 participants