aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Native.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-01-01 22:46:30 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-01 22:46:30 -0800
commit3e61333af0f5ac1cdb045bdab0293f03e2e1e39e (patch)
treef57121abaa05824e11e22381411566231279a864 /src/Text/Pandoc/Writers/Native.hs
parent0411f514338e5d27dc80847758cc28fc824a88c5 (diff)
downloadpandoc-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/Writers/Native.hs')
0 files changed, 0 insertions, 0 deletions