executablebooks / markdown-it-py

Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed. Now in Python!
https://markdown-it-py.readthedocs.io
MIT License
662 stars 68 forks source link

🐛 Fix emphasis inside raw links bugs #320

Closed tsutsu3 closed 6 months ago

tsutsu3 commented 6 months ago

Fix #300

Changed from re.match to re.search to work as intended.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (df3aadf) 95.17% compared to head (4d36fc2) 95.05%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #320 +/- ## ========================================== - Coverage 95.17% 95.05% -0.12% ========================================== Files 64 64 Lines 3437 3437 ========================================== - Hits 3271 3267 -4 - Misses 166 170 +4 ``` | [Flag](https://app.codecov.io/gh/executablebooks/markdown-it-py/pull/320/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=executablebooks) | Coverage Δ | | |---|---|---| | [pytests](https://app.codecov.io/gh/executablebooks/markdown-it-py/pull/320/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=executablebooks) | `95.05% <100.00%> (-0.12%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=executablebooks#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.