aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-23 01:41:37 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-23 01:41:37 +0000
commit9a410e1635ff766802b82e4fe7541d00d3d67429 (patch)
treec36ee01fe12a6d98b62991da06cf618e1e62a3e6 /src
parent6a6b1a5842e6218168bca1bf6f04c8d395b60441 (diff)
downloadpandoc-9a410e1635ff766802b82e4fe7541d00d3d67429.tar.gz
README: Removed the statement that the RST reader doesn't parse
definition lists. HTML reader: Added failIfStrict to the definitionList parser, so definition lists will be passed through as raw HTML if --strict specified. git-svn-id: https://pandoc.googlecode.com/svn/trunk@783 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src')
-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 969fabb3a..3fbf9e426 100644
--- a/src/Text/Pandoc/Readers/HTML.hs
+++ b/src/Text/Pandoc/Readers/HTML.hs
@@ -368,6 +368,7 @@ bulletList = try $ do
return (BulletList items)
definitionList = try $ do
+ failIfStrict -- def lists not part of standard markdown
tag <- htmlTag "dl"
spaces
items <- sepEndBy1 definitionListItem spaces