diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-01-10 09:03:41 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-01-10 09:03:41 -0800 |
commit | f68678bf9ea6c5a5d9232c4b0f4a6bcc4d87b6df (patch) | |
tree | 100f12cd5e2b0092357f5e1cddc5fb619ee6b1d8 /bench/statistics.py | |
parent | 2da6c9b98e1c5ab0c307a47f63c78e6d6c85543e (diff) |
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.
Diffstat (limited to 'bench/statistics.py')
0 files changed, 0 insertions, 0 deletions