diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-08-10 16:58:47 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-08-10 16:58:47 -0700 |
commit | 98940127760835c893acf56452d986e0b589a63a (patch) | |
tree | d10812506ad3e91d2b7361ddddb0dfbf70949881 /src | |
parent | 50dddecb53100915080bd4bc82c62a1cc63d7bcc (diff) | |
download | pandoc-98940127760835c893acf56452d986e0b589a63a.tar.gz |
EPUB TOC: replace literal "<br/>" with space.
Closes #2105.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Shared.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs index 07a7e962c..c44133e12 100644 --- a/src/Text/Pandoc/Shared.hs +++ b/src/Text/Pandoc/Shared.hs @@ -540,6 +540,7 @@ stringify = query go . walk deNote go (Str x) = x go (Code _ x) = x go (Math _ x) = x + go (RawInline (Format "html") ('<':'b':'r':_)) = " " -- see #2105 go LineBreak = " " go _ = "" deNote (Note _) = Str "" |