Skip to content

Commit 23ba941

Browse files
committed
Fixed markedjs#465
1 parent 0abd539 commit 23ba941

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

lib/marked.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ block.list = replace(block.list)
3939
('def', '\\n+(?=' + block.def.source + ')')
4040
();
4141

42-
block.blockquote = replace(block.blockquote)
43-
('def', block.def)
44-
();
45-
4642
block._tag = '(?!(?:'
4743
+ 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code'
4844
+ '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo'

test/tests/def_blocks.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<hr>
77

88
<blockquote>
9-
<p>hello</p>
9+
<p>hello
10+
[2]: hello</p>
1011
</blockquote>
1112

1213

@@ -24,5 +25,6 @@
2425
<blockquote>
2526
<p>foo
2627
bar
28+
[1]: foo
2729
bar</p>
2830
</blockquote>

test/tests/toplevel_paragraphs.gfm.text

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ hello world
3030
<span>how are you</span>
3131

3232
hello [world][how]
33+
3334
[how]: /are/you
3435

3536
<div>hello</div>

0 commit comments

Comments
 (0)