Skip to content

Commit

Permalink
fix def_blocks test: link reference definition cannot interrupt a par…
Browse files Browse the repository at this point in the history
…agraph + blockquote laziness rule, according to commonmark spec

(see review of markedjs#974. Partial replay of 98ac7a4)
  • Loading branch information
Feder1co5oave committed Jan 19, 2018
1 parent c7798f4 commit 911780d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test/new/def_blocks.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<hr>

<blockquote>
<p>hello</p>
<p>hello
[2]: hello</p>
</blockquote>


Expand All @@ -24,5 +25,6 @@
<blockquote>
<p>foo
bar
[5]: foo
bar</p>
</blockquote>
2 changes: 1 addition & 1 deletion test/new/def_blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@

> foo
> bar
[1]: foo
[5]: foo
> bar

0 comments on commit 911780d

Please sign in to comment.