File tree 4 files changed +34
-35
lines changed
4 files changed +34
-35
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,6 @@ block.list = new ExtendRegexp(block.list)
44
44
. setGroup ( 'def' , '\\n+(?=' + block . def . source + ')' )
45
45
. getRegexp ( ) ;
46
46
47
- block . blockquote = new ExtendRegexp ( block . blockquote )
48
- . setGroup ( 'def' , block . def )
49
- . getRegexp ( ) ;
50
-
51
47
block . _tag = '(?!(?:'
52
48
+ 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code'
53
49
+ '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo'
Original file line number Diff line number Diff line change 6
6
< hr >
7
7
8
8
< blockquote >
9
- < p > hello</ p >
9
+ < p > hello
10
+ [2]: hello</ p >
10
11
</ blockquote >
11
12
12
13
24
25
< blockquote >
25
26
< p > foo
26
27
bar
28
+ [1]: foo
27
29
bar</ p >
28
30
</ blockquote >
Original file line number Diff line number Diff line change 1
1
< p > hello world
2
- how are you
3
- how are you </ p >
2
+ text after spaces
3
+ text after spaces </ p >
4
4
5
- < p > hello world </ p >
6
- < pre > < code > how are you </ code > </ pre >
5
+ < p > paragraph before code </ p >
6
+ < pre > < code > text inside block code </ code > </ pre >
7
7
8
- < p > hello world </ p >
8
+ < p > paragraph before hr </ p >
9
9
< hr >
10
10
11
- < p > hello world </ p >
11
+ < p > paragraph before head with hash </ p >
12
12
< h1 id ="how-are-you "> how are you</ h1 >
13
13
14
- < p > hello world </ p >
14
+ < p > paragraph before head with equals </ p >
15
15
< h1 id ="how-are-you "> how are you</ h1 >
16
16
17
- < p > hello world </ p >
18
- < blockquote > < p > how are you </ p > </ blockquote >
17
+ < p > paragraph before blockquote </ p >
18
+ < blockquote > < p > text for blockquote </ p > </ blockquote >
19
19
20
- < p > hello world </ p >
21
- < ul > < li > how are you </ li > </ ul >
20
+ < p > paragraph before list </ p >
21
+ < ul > < li > text inside list </ li > </ ul >
22
22
23
- < p > hello world </ p >
24
- < div > how are you </ div >
23
+ < p > paragraph before div </ p >
24
+ < div > text inside div </ div >
25
25
26
- < p > hello world
27
- < span > how are you </ span > </ p >
26
+ < p > paragraph with span
27
+ < span > text inside span </ span > </ p >
28
28
29
29
< p > hello < a href ="/are/you "> world</ a >
30
30
</ p >
Original file line number Diff line number Diff line change 1
1
hello world
2
- how are you
3
- how are you
2
+ text after spaces
3
+ text after spaces
4
4
5
- hello world
5
+ paragraph before code
6
6
```
7
- how are you
7
+ text inside block code
8
8
```
9
9
10
- hello world
10
+ paragraph before hr
11
11
* * *
12
12
13
- hello world
13
+ paragraph before head with hash
14
14
# how are you
15
15
16
- hello world
16
+ paragraph before head with equals
17
17
how are you
18
18
===========
19
19
20
- hello world
21
- > how are you
20
+ paragraph before blockquote
21
+ > text for blockquote
22
22
23
- hello world
24
- * how are you
23
+ paragraph before list
24
+ * text inside list
25
25
26
- hello world
27
- <div>how are you </div>
26
+ paragraph before div
27
+ <div>text inside div </div>
28
28
29
- hello world
30
- <span>how are you </span>
29
+ paragraph with span
30
+ <span>text inside span </span>
31
31
32
32
hello [world][how]
33
+
33
34
[how]: /are/you
34
35
35
36
<div>hello</div>
You can’t perform that action at this time.
0 commit comments