Python-Markdown / markdown

A Python implementation of John Gruber’s Markdown with Extension support.
https://python-markdown.github.io/
BSD 3-Clause "New" or "Revised" License
3.79k stars 863 forks source link

Update PrettifyTreeprocessor `<pre><code>` handling (attempt 2) #1264

Closed fourpoints closed 2 years ago

fourpoints commented 2 years ago

Fixes issue #1263

Added some tests near the other PrettifyTreeprocessor tests, not sure if this is the correct place for them.

Let me know if additional edge cases should be included, or if the added ones should be changed.

waylan commented 2 years ago

Great work. Thank you.