Skip to content

Commit

Permalink
Fixed #465
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaTretyak committed Dec 18, 2017
1 parent 900e50e commit 98ac7a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ block.list = replace(block.list)
('def', '\\n+(?=' + block.def.source + ')')
();

block.blockquote = replace(block.blockquote)
('def', block.def)
();

block._tag = '(?!(?:'
+ 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code'
+ '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo'
Expand Down
4 changes: 3 additions & 1 deletion test/tests/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
[1]: foo
bar</p>
</blockquote>
1 change: 1 addition & 0 deletions test/tests/toplevel_paragraphs.gfm.text
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ hello world
<span>how are you</span>

hello [world][how]

[how]: /are/you

<div>hello</div>
Expand Down

0 comments on commit 98ac7a4

Please sign in to comment.