aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README13
-rw-r--r--src/Text/Pandoc/Readers/HTML.hs1
2 files changed, 7 insertions, 7 deletions
diff --git a/README b/README
index d262f13d1..9f27c7ce7 100644
--- a/README
+++ b/README
@@ -109,13 +109,12 @@ Supported output formats include `markdown`, `latex`, `context`
HTML file that acts like powerpoint). Supported input formats include
`markdown`, `html`, `latex`, and `rst`. Note that the `rst` reader only
parses a subset of reStructuredText syntax. For example, it doesn't
-handle tables, definition lists, option lists, or footnotes. It handles
-only the constructs expressible in unextended markdown. But for simple
-documents it should be adequate. The `latex` and `html` readers are also
-limited in what they can do. Because the `html` reader is picky about
-the HTML it parses, it is recommended that you pipe HTML through [HTML
-Tidy] before sending it to `pandoc`, or use the `html2markdown` script
-described below.
+handle tables, option lists, or footnotes. But for simple documents it
+should be adequate. The `latex` and `html` readers are also limited in
+what they can do. Because the `html` reader is picky about the HTML it
+parses, it is recommended that you pipe HTML through [HTML Tidy] before
+sending it to `pandoc`, or use the `html2markdown` script described
+below.
If you don't specify a reader or writer explicitly, `pandoc` will
try to determine the input and output format from the extensions of
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