You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However if in place of italic strikethrough is used, everything works as expected.
It should bold first and last 3 characters. And then have italic from the second character to second last character.
As far as the cases in the original post, keep these notes in mind:
Underscores can't be used for emphasis/strong inside of a word, because underscores are included in the set of "word characters" ( A-Z, a-z, 0-9, _ ) . That is, an underscore is just a normal _ if between two alphanumeric characters, according to the CommonMark spec.
Asterisks do not have this restriction. Also, because asterisks do not count as "word characters", you can have underscores adjacent to them and they should work properly.
That said, these are the correct outputs for each case (plus one more I added). Marked currently passes all of these except the all-asterisk one (case 4 below):
Activity
fredck commentedon Sep 3, 2020
Is the following case included in the issue? The formatting is not strictly mixed, just touching:
This was working with v1.1.0 and is not working with v1.1.1.
fredck commentedon Sep 3, 2020
Figured that this issue is much older than v1.1.1, so I've opened #1754 for the introduced regression.
calculuschild commentedon Dec 9, 2020
As far as the cases in the original post, keep these notes in mind:
_if between two alphanumeric characters, according to the CommonMark spec.That said, these are the correct outputs for each case (plus one more I added). Marked currently passes all of these except the all-asterisk one (case 4 below):
**E_mp_**_ha_**_si_s**<strong>E_mp_</strong><em>ha</em><strong>_si_s</strong>__E*mp*__*ha*__*si*s__<strong>E<em>mp</em></strong><em>ha</em><strong><em>si</em>s</strong>**E*mp***_ha_***si*s**<strong>E<em>mp</em></strong><em>ha</em><strong><em>si</em>s</strong>**E*mp****ha****si*s**<strong>E<em>mp</em><em><strong>ha</strong></em><em>si</em>s</strong>__E_mp____ha____si_s__<strong>E_mp____ha____si_s</strong>github-actions commentedon Jun 1, 2021
🎉 This issue has been resolved in version 2.0.7 🎉
The release is available on:
Your semantic-release bot 📦🚀