From 98940127760835c893acf56452d986e0b589a63a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 10 Aug 2015 16:58:47 -0700 Subject: [PATCH] EPUB TOC: replace literal "
" with space. Closes #2105. --- src/Text/Pandoc/Shared.hs | 1 + 1 file changed, 1 insertion(+) 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 ""