diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-01-01 22:46:30 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-01 22:46:30 -0800 |
commit | 3e61333af0f5ac1cdb045bdab0293f03e2e1e39e (patch) | |
tree | f57121abaa05824e11e22381411566231279a864 /src/Text/Pandoc/Readers/HTML.hs | |
parent | 0411f514338e5d27dc80847758cc28fc824a88c5 (diff) | |
download | pandoc-3e61333af0f5ac1cdb045bdab0293f03e2e1e39e.tar.gz |
Fixed regression in markdown reader.
'(_hi_)' was being parsed with literal underscores (no emphasis).
The fix: the 'str' parser now only parses alphanumerics and
embedded underscores. All other symbols are handled by the
'symbol' parser. This has a slight effect on the AST, since
you'll get [Str "hi",Str ":"] insntead of [Str "hi:"]. But there
should not be a visible effect in any of the writers.
Thanks to gwern for pointing out the regression.
Diffstat (limited to 'src/Text/Pandoc/Readers/HTML.hs')
0 files changed, 0 insertions, 0 deletions