Open mentalisttraceur opened 5 days ago
Thanks for this PR. I locally checked out the branch to check its effect in my sphinx-build usecase. I just wanted to confirm that your PR indeed fixes the issue I encountered.
And additionally, https://github.com/lepture/mistune/pull/393 fixes another issue I encountered only recently for the first time. Thanks for these very helpful contributions!
This fixes three bugs:
target
links, andsrc
links at all.Same idea as the fix in #393 - move the HTML-escaping out of the parse and into the rendering.
Tests updated to catch all three bugs.
You can merge this and #393 in any order (no merge conflicts either way).