aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-01-03 20:52:12 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-01-03 20:52:12 +0000
commite4880319e66493948e198cdd8b3d18ba572a2967 (patch)
treed7f5d72734f4e211602f63073972d55871fd0c42 /src/Text
parentec1be2bdc9e75e4305bbfca4020b8fe7eaa539e7 (diff)
downloadpandoc-e4880319e66493948e198cdd8b3d18ba572a2967.tar.gz
Modified HTML reader to skip a newline following a <br> 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
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/HTML.hs1
1 files changed, 1 insertions, 0 deletions
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