diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-03 20:52:12 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-03 20:52:12 +0000 |
commit | e4880319e66493948e198cdd8b3d18ba572a2967 (patch) | |
tree | d7f5d72734f4e211602f63073972d55871fd0c42 /src/Text | |
parent | ec1be2bdc9e75e4305bbfca4020b8fe7eaa539e7 (diff) | |
download | pandoc-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.hs | 1 |
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 |