EPUB TOC: replace literal "<br/>" with space.
Closes #2105.
commit98940127760835c893acf56452d986e0b589a63a
authorJohn MacFarlane <jgm@berkeley.edu>
dateMon 10 Aug 2015, 16:58 (11 years ago)
parent50dddec
src/Text/Pandoc/Shared.hs+1
@@ -540,6 +540,7 @@ stringify = query go . walk deNote
540540 go (Str x) = x
541541 go (Code _ x) = x
542542 go (Math _ x) = x
543+ go (RawInline (Format "html") ('<':'b':'r':_)) = " " -- see #2105
543544 go LineBreak = " "
544545 go _ = ""
545546 deNote (Note _) = Str ""