For simple list items, don't wrap in <p> tags
This also removes extra newlines for simple list items, see changes to tests for details. Closes #57
This commit is contained in:
parent
429602aba7
commit
4d3a099922
9 changed files with 146 additions and 319 deletions
14
org/testdata/headlines.html
vendored
14
org/testdata/headlines.html
vendored
|
@ -22,17 +22,11 @@ Simple Headline <code class="statistic">[1/2]</code>
|
|||
</h2>
|
||||
<div id="outline-text-headline-1" class="outline-text-2">
|
||||
<ul>
|
||||
<li class="checked">
|
||||
<p>checked</p>
|
||||
</li>
|
||||
<li class="unchecked">
|
||||
<p>unchecked</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>note that statistic tokens are marked up anywhere
|
||||
<li class="checked">checked</li>
|
||||
<li class="unchecked">unchecked</li>
|
||||
<li>note that statistic tokens are marked up anywhere
|
||||
not just where they are actually meant to be - even here > <code class="statistic">[100%]</code> <
|
||||
(Org mode proper does the same)</p>
|
||||
</li>
|
||||
(Org mode proper does the same)</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue