Weasyl / weasyl

The website.
https://www.weasyl.com
Apache License 2.0
115 stars 30 forks source link

Replace `strip_html` with `markdown_excerpt` #1406

Closed charmander closed 2 months ago

charmander commented 2 months ago

markdown_excerpt is more complete (renders Markdown, normalizes whitespace), correct (produces plain text), and robust (uses lxml.html, which doesn’t crash on the same malformed input that html.parser does).