diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-12-24 04:22:20 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-12-24 04:22:20 +0000 |
commit | 97992e6f7b3953297b036c3cf68eb175e1aa6806 (patch) | |
tree | 6e0d0be4a63ca5581cf01b15689c6437ea83a225 /Text/Pandoc/Blocks.hs | |
parent | dad8e163301f7f5894f7b7e491577427b7e05d7a (diff) | |
download | pandoc-97992e6f7b3953297b036c3cf68eb175e1aa6806.tar.gz |
Improved handling of raw HTML in Markdown reader. (Resolves Issue #36.)
Tags that can be either block or inline (e.g. <ins>) should be treated
as block when appropriate and as inline when appropriate. Thus, for
example,
<ins>hi</ins>
should be treated as a paragraph with inline <ins> tags, while
<ins>
hi
</ins>
should be treated as a paragraph within <ins> tags.
+ Moved htmlBlock after para in list of block parsers. This ensures
that tags that can be either block or inline get parsed as inline
when appropriate.
+ Modified rawHtmlInline' so that block elements aren't treated as inline.
+ Modified para parser so that paragraphs containing only HTML tags and
blank space are not allowed. Treat these as raw HTML blocks instead.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1154 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Text/Pandoc/Blocks.hs')
0 files changed, 0 insertions, 0 deletions