- Commit
- f68678bf9ea6c5a5d9232c4b0f4a6bcc4d87b6df
- Parent
- 2da6c9b98e1c5ab0c307a47f63c78e6d6c85543e
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
commonmark renderer: better escaping in smart mode.
When CMARK_OPT_SMART is enabled, we escape literal `-`,
`.`, and quote characters when needed to avoid their
being "smartified."
See e.g. jgm/pandoc#6041 for an application.