aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/DocBook.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-06-16 19:18:33 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-06-16 19:18:33 -0700
commit87c08be58f54ae60cfd57be6c17a256cbdb105d6 (patch)
tree410ede8e1aabeaeb6465ffd285dc3891a77a1a2c /src/Text/Pandoc/Readers/DocBook.hs
parent459805de4c4e7129dc624086a654febb161f99ad (diff)
downloadpandoc-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/DocBook.hs')
0 files changed, 0 insertions, 0 deletions