diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-07-12 22:59:35 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-07-12 23:44:56 -0700 |
commit | 47a5f04761d9921ee273e8264e26409c806a912d (patch) | |
tree | 6197a1ce338bd8495a2b6d033093242d7cf54fb6 /src/Text/Pandoc/Shared.hs | |
parent | 4676bfdf825a2b5b205d6057462d317c00c6b354 (diff) | |
download | pandoc-47a5f04761d9921ee273e8264e26409c806a912d.tar.gz |
Parsing: Simplified dash and ellipsis.
This originated with @dubiousjim's observation in #1419
that there was a typo in the definition of enDash.
It returned an em dash character instead of an en dash.
I thought about why this had not been noticed before, and
realized that en dashes were just being parsed as regular
symbols.
That made me realize that, now that we no longer have
dedicate EnDash, EmDash, and Ellipses inline elements, as
we used to in pandoc, we no longer need to parse the
unicode characters specially. This allowed a considerable
simplification of the code.
Partially resolves #1419.
Diffstat (limited to 'src/Text/Pandoc/Shared.hs')
0 files changed, 0 insertions, 0 deletions