miyuchina / mistletoe

A fast, extensible and spec-compliant Markdown parser in pure Python.
MIT License
841 stars 119 forks source link

feat: optional html quotes escaping for HTMLRenderer (#176) #180

Closed pbodnar closed 1 year ago

pbodnar commented 1 year ago

Introduce additional parameters for the HTMLRenderer constructor that control double and single quotes escaping. Also revert to previous behavior when single quotes are not escaped (by default).

coveralls commented 1 year ago

Coverage Status

coverage: 90.439% (+0.08%) from 90.359% when pulling d3c3e1690f66e4af763ada6387d0c2e4f5f15fef on issue-176-optional-html-quotes-escaping into 8937994661dfa556ecdca7e62c6d9569b3aaeb2d on master.