Closed charmander closed 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).
markdown_excerpt
lxml.html
html.parser
markdown_excerpt
is more complete (renders Markdown, normalizes whitespace), correct (produces plain text), and robust (useslxml.html
, which doesn’t crash on the same malformed input thathtml.parser
does).