Fix overzealous html decoding in mistune 2.x - #452
Conversation
The matrix included os variants, but they were being ignored. All jobs are being run on `ubuntu-latest` (linux), regardless of the value of `matrix.os`.
Instead of running pytest twice, once to "test", once to collect coverage data, just collect coverage data during the initial run.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v2 #452 +/- ##
==========================================
- Coverage 99.43% 99.03% -0.40%
==========================================
Files 19 19
Lines 1244 1248 +4
==========================================
- Hits 1237 1236 -1
- Misses 7 12 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
|
I've put some effort into fixing the CI tests so that they run in the modern day. Some (or perhaps all) of the codecov upload steps are failing, which, I suspect, is the cause of the test failure for decreasing code coverage. It appears that, at the least, the python 2.7 coverage reports are not being uploaded to codecov. |
|
Released in 2.1.0 |
|
@lepture Thank you! |



This fixes #448 in which mistune 2.x (when running under python 3) is overzealous about unescaping HTML entities.