From e4880319e66493948e198cdd8b3d18ba572a2967 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Wed, 3 Jan 2007 20:52:12 +0000 Subject: Modified HTML reader to skip a newline following a
tag. Otherwise the newline will be treated as a space at the beginning of the next line. git-svn-id: https://pandoc.googlecode.com/svn/trunk@410 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Text/Pandoc/Readers/HTML.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs index 79bdab76a..b3ddc8985 100644 --- a/src/Text/Pandoc/Readers/HTML.hs +++ b/src/Text/Pandoc/Readers/HTML.hs @@ -433,6 +433,7 @@ whitespace = do -- hard line break linebreak = do htmlTag "br" + option ' ' newline return LineBreak str = do -- cgit v1.2.3