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
This commit is contained in:
fiddlosopher 2007-07-23 01:41:37 +00:00
parent 6a6b1a5842
commit 9a410e1635
2 changed files with 7 additions and 7 deletions

13
README
View file

@ -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

View file

@ -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