forked from Python-Markdown/markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blockquoted text in the first item of a list is now placed in child p…
… tag of the blockquote tag. Added lists8.txt and .html for test suite to test condition.
- Loading branch information
Showing
3 changed files
with
58 additions
and
25 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<h1>Lists with blockquotes</h1> | ||
<ol> | ||
<li> | ||
<blockquote> | ||
<p>Four-score and seven years ago...</p> | ||
</blockquote> | ||
</li> | ||
<li> | ||
<blockquote> | ||
<p>We have nothing to fear...</p> | ||
</blockquote> | ||
</li> | ||
<li> | ||
<blockquote> | ||
<p>This is it...</p> | ||
</blockquote> | ||
</li> | ||
</ol> | ||
<h1>Multi-line blockquotes</h1> | ||
<ul> | ||
<li> | ||
<blockquote> | ||
<p>Four-score and sever years ago | ||
our fathers brought forth</p> | ||
</blockquote> | ||
</li> | ||
<li> | ||
<blockquote> | ||
<p>We have nothing to fear | ||
but fear itself</p> | ||
</blockquote> | ||
</li> | ||
<li> | ||
<blockquote> | ||
<p>This is it | ||
as far as I'm concerned</p> | ||
</blockquote> | ||
</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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Lists with blockquotes | ||
1. > Four-score and seven years ago... | ||
|
||
2. > We have nothing to fear... | ||
|
||
3. > This is it... | ||
|
||
# Multi-line blockquotes | ||
* > Four-score and sever years ago | ||
> our fathers brought forth | ||
|
||
* > We have nothing to fear | ||
> but fear itself | ||
|
||
* > This is it | ||
> as far as I'm concerned |