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
706 stars 68 forks source link

🐛 FIX: CLI crash on non-utf8 character #247

Closed chrisjsewell closed 1 year ago

chrisjsewell commented 1 year ago

Addresses CVE-2023-26302

chrisjsewell commented 1 year ago

cc @eslerm

codecov[bot] commented 1 year ago

Codecov Report

Base: 96.05% // Head: 96.05% // No change to project coverage :thumbsup:

Coverage data is based on head (43a902b) compared to base (6491bc2). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #247 +/- ## ======================================= Coverage 96.05% 96.05% ======================================= Files 62 62 Lines 3223 3223 ======================================= Hits 3096 3096 Misses 127 127 ``` | Flag | Coverage Δ | | |---|---|---| | pytests | `96.05% <100.00%> (ø)` | | 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. | [Impacted Files](https://codecov.io/gh/executablebooks/markdown-it-py/pull/247?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=executablebooks) | Coverage Δ | | |---|---|---| | [markdown\_it/cli/parse.py](https://codecov.io/gh/executablebooks/markdown-it-py/pull/247?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=executablebooks#diff-bWFya2Rvd25faXQvY2xpL3BhcnNlLnB5) | `88.23% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=executablebooks). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=executablebooks)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.