mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
HTML reader: treat Plain as Para when needed.
For example, in
Just a few glitches remaining.
<ul><li> In this situation, one loses the list.
</ul>
And in this, the preformatting.
<pre>Preformatted text not starting with its own blank line.
</pre>
Thansk to Dirk Laurie for noticing the issue.
This commit is contained in:
@@ -298,40 +298,6 @@ These should not be escaped: \$ \\ \> \[ \{
|
||||
<dd>Low-voiced stringed instrument.</dd>
|
||||
</dl>
|
||||
<hr />
|
||||
<h1>HTML Blocks</h1>
|
||||
<p>Simple block on one line:</p>
|
||||
foo<p>And nested without indentation:</p>
|
||||
foobar<p>Interpreted markdown in a table:</p>
|
||||
This is <em>emphasized</em>. And this is <strong>strong</strong><p>Here's a simple block:</p>
|
||||
foo<p>This should be a code block, though:</p>
|
||||
<pre><code><div>
|
||||
foo
|
||||
</div>
|
||||
</code></pre>
|
||||
<p>As should this:</p>
|
||||
<pre><code><div>foo</div>
|
||||
</code></pre>
|
||||
<p>Now, nested:</p>
|
||||
foo<p>This should just be an HTML comment:</p>
|
||||
<p>Multiline:</p>
|
||||
<p>Code block:</p>
|
||||
<pre><code><!-- Comment -->
|
||||
</code></pre>
|
||||
<p>Just plain comment, with trailing spaces on the line:</p>
|
||||
<p>Code:</p>
|
||||
<pre><code><hr />
|
||||
</code></pre>
|
||||
<p>Hr's:</p>
|
||||
<hr />
|
||||
<hr />
|
||||
<hr />
|
||||
<hr />
|
||||
<hr />
|
||||
<hr />
|
||||
<hr />
|
||||
<hr />
|
||||
<hr />
|
||||
<hr />
|
||||
<h1>Inline Markup</h1>
|
||||
<p>This is <em>emphasized</em>, and so <em>is this</em>.</p>
|
||||
<p>This is <strong>strong</strong>, and so <strong>is this</strong>.</p>
|
||||
|
||||
Reference in New Issue
Block a user