[PR #43] Fixes issue where sentences containing strong emphasis words did not correctly delimit the strong tag #782

Open
opened 2026-01-29 14:45:26 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/xoofx/markdig/pull/43

State: closed
Merged: Yes


Scenario:

***Strong emphasis*** normal

Should result in:

<p><strong><em>Strong emphasis</em></strong> normal</p>

But actually outputs:

<p><strong><em>Strong emphasis</em> normal</strong></p>

Note: I haven't included a spec to demonstrate the fix, as the specs for this part comes from CommonMark. Would you prefer me to add a new spec to this pull request, or to submit a pull request to the CommonMark spec?

**Original Pull Request:** https://github.com/xoofx/markdig/pull/43 **State:** closed **Merged:** Yes --- Scenario: ``` ***Strong emphasis*** normal ``` Should result in: ``` <p><strong><em>Strong emphasis</em></strong> normal</p> ``` But actually outputs: ``` <p><strong><em>Strong emphasis</em> normal</strong></p> ``` **Note:** I haven't included a spec to demonstrate the fix, as the specs for this part comes from CommonMark. Would you prefer me to add a new spec to this pull request, or to submit a pull request to the CommonMark spec?
claunia added the pull-request label 2026-01-29 14:45:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#782