diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2011-07-10 16:54:46 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2011-07-10 16:54:46 -0700 |
| commit | 4134dad500f6cb360a9ceb957e0c5ec2ec59b2a8 (patch) | |
| tree | 7740f80af4dc5cb4b195097a05abd405abbb2f6a /tests | |
| parent | b5411c06aa5c4909cf10647e6ba0fe186cfa41f6 (diff) | |
| download | pandoc-4134dad500f6cb360a9ceb957e0c5ec2ec59b2a8.tar.gz | |
Make HTML reader more forgiving of bad HTML.
* Skip spaces after <b>, <emph>, etc.
* Convert Plain elements into Para when they're in a list
item with Para, Pre, BlockQuote, CodeBlock.
An example of HTML that pandoc handles better now:
~~~~
<h4> Testing html to markdown </h4>
<ul>
<li>
<b> An item in a list </b>
<p> An introductory sentence.
<pre>
Some preformatted text
at this stage comes next.
But alas! much havoc
is wrought by Pandoc.
</pre>
</ul>
~~~~
Thanks to Dirk Laurie for reporting the issues.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
