summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-08-10 16:58:47 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-08-10 16:58:47 -0700
commit98940127760835c893acf56452d986e0b589a63a (patch)
treed10812506ad3e91d2b7361ddddb0dfbf70949881 /src/Text/Pandoc
parent50dddecb53100915080bd4bc82c62a1cc63d7bcc (diff)
EPUB TOC: replace literal "<br/>" with space.
Closes #2105.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Shared.hs1
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 ""