-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lists linebreaks): fix lists linebreaks in html output
Closes #291
- Loading branch information
Showing
39 changed files
with
19 additions
and
80 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<ul> | ||
<li><p>Bird</p></li> | ||
|
||
<li><p>Magic</p></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<h1 id="sometitle">some title</h1> | ||
<ol> | ||
<li>list item 1</li> | ||
|
||
<li>list item 2</li> | ||
</ol> | ||
<blockquote> | ||
<p>some text in a blockquote</p> | ||
</blockquote> | ||
<ul> | ||
<li>another list item 1</li> | ||
|
||
<li>another list item 2</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
<ol> | ||
<li><p>This is a major bullet point.</p> | ||
<p>That contains multiple paragraphs.</p></li> | ||
|
||
<li><p>And another line</p></li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
<ul> | ||
<li>This line spans | ||
more than one line and is lazy</li> | ||
|
||
<li>Similar to this line</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ol> | ||
<li>Red</li> | ||
|
||
<li>Green</li> | ||
|
||
<li>Blue</li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ol> | ||
<li>Red</li> | ||
|
||
<li>Green</li> | ||
|
||
<li>Blue</li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ol> | ||
<li>Red</li> | ||
|
||
<li>Green</li> | ||
|
||
<li>Blue</li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ul> | ||
<li>Red</li> | ||
|
||
<li>Green</li> | ||
|
||
<li>Blue</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ul> | ||
<li>Red</li> | ||
|
||
<li>Green</li> | ||
|
||
<li>Blue</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ul> | ||
<li>Red</li> | ||
|
||
<li>Green</li> | ||
|
||
<li>Blue</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
<h1 id="mythings">my things</h1> | ||
<ul> | ||
<li>foo</li> | ||
|
||
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> bar</li> | ||
|
||
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> baz</li> | ||
|
||
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;" checked> bazinga</li> | ||
</ul> | ||
<p>otherthings</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
test/issues/#142.odd-behaviour-for-multiple-consecutive-lists.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
<ul> | ||
<li>Item 1</li> | ||
|
||
<li>Item 2</li> | ||
</ul> | ||
<ol> | ||
<li>Item 1</li> | ||
|
||
<li>Item 2</li> | ||
</ol> | ||
<ul> | ||
<li>Item 1</li> | ||
|
||
<li>Item 2</li> | ||
</ul> |
13 changes: 6 additions & 7 deletions
13
test/issues/#183.gh-code-blocks-within-lists-do-not-render-properly.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
<ol> | ||
<li><p>Hi, I am a thing</p> | ||
<pre><code class="sh language-sh">$ git clone thing.git | ||
<li><p>Hi, I am a thing</p> | ||
<pre><code class="sh language-sh">$ git clone thing.git | ||
|
||
dfgdfg | ||
</code></pre></li> | ||
|
||
<li><p>I am another thing!</p> | ||
<pre><code class="sh language-sh">$ git clone other-thing.git | ||
</code></pre></li> | ||
<li><p>I am another thing!</p> | ||
<pre><code class="sh language-sh">$ git clone other-thing.git | ||
|
||
foobar | ||
</code></pre></li> | ||
</code></pre></li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
<p>Test pre in a list</p> | ||
<ul> | ||
<li>& <</li> | ||
|
||
<li><code>& <</code> | ||
|
||
<ul> | ||
<li>& <</li> | ||
|
||
<li><code>& <</code> | ||
|
||
<ul> | ||
<li>& <</li> | ||
|
||
<li><code>& <</code> | ||
|
||
<ul> | ||
<li>& <</li> | ||
|
||
<li><code>& <</code></li></ul></li></ul></li></ul></li> | ||
</ul> |
5 changes: 2 additions & 3 deletions
5
...blocks-containing-xml-comments-are-not-converted-correctly-when-nested-in-list-items.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,5 @@ | |
<li><p>1</p> | ||
<ul> | ||
<li>inner par list</li></ul></li> | ||
|
||
<li><p>2</p></li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ol> | ||
<li>list item 1</li> | ||
|
||
<li>list item 2</li> | ||
|
||
<li>list item 3</li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ol> | ||
<li>list item 1</li> | ||
|
||
<li>list item 2</li> | ||
|
||
<li>list item 3</li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ul> | ||
<li>list item 1</li> | ||
|
||
<li>list item 2</li> | ||
|
||
<li>list item 3</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ul> | ||
<li>list item 1</li> | ||
|
||
<li>list item 2</li> | ||
|
||
<li>list item 3</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ul> | ||
<li>list item 1</li> | ||
|
||
<li>list item 2</li> | ||
|
||
<li>list item 3</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ul> | ||
<li>list item 1</li> | ||
|
||
<li>list item 2</li> | ||
|
||
<li>list item 3</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ul> | ||
<li>list item 1</li> | ||
|
||
<li>list item 2</li> | ||
|
||
<li>list item 3</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<ul> | ||
<li>list item 1</li> | ||
|
||
<li>list item 2</li> | ||
|
||
<li>list item 3</li> | ||
</ul> |
Oops, something went wrong.