diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-06-16 19:18:33 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-06-16 19:18:33 -0700 |
commit | 87c08be58f54ae60cfd57be6c17a256cbdb105d6 (patch) | |
tree | 410ede8e1aabeaeb6465ffd285dc3891a77a1a2c /src/Text/Pandoc/Readers/Org.hs | |
parent | 459805de4c4e7129dc624086a654febb161f99ad (diff) | |
download | pandoc-87c08be58f54ae60cfd57be6c17a256cbdb105d6.tar.gz |
LaTeX reader: handle leading/trailing spaces in emph better.
`\emph{ hi }` gets parsed as `[Space, Emph [Str "hi"], Space]`
so that we don't get things like `* hi *` in markdown output.
Also applies to textbf and some other constructions.
Closes #1146. (`--normalize` isn't touched by this, but
normalization should not generally be necessary with the
changes to the readers.)
Diffstat (limited to 'src/Text/Pandoc/Readers/Org.hs')
0 files changed, 0 insertions, 0 deletions