diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-10-04 22:09:23 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-10-04 22:09:23 +0000 |
commit | 74ac66a0cbb2c61a55f6d98128272d3568b0ead5 (patch) | |
tree | d48eb75eed203372672177a1dfe9fd3e16a3708a /src/Text/Pandoc.hs | |
parent | 6191a1fa745c067d3df153b244e9829255600f5d (diff) |
Added haddock comments warning that readers assume \n line endings.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1608 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Text/Pandoc.hs')
-rw-r--r-- | src/Text/Pandoc.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs index 6cca14afe..390c27765 100644 --- a/src/Text/Pandoc.hs +++ b/src/Text/Pandoc.hs @@ -45,6 +45,10 @@ inline links: > > main = U.getContents >>= U.putStrLn . markdownToRST +Note: all of the readers assume that the input text has @'\n'@ +line endings. So if you get your input text from a web form, +you should remove @'\r'@ characters using @filter (/='\r')@. + -} module Text.Pandoc |