File tree 4 files changed +49
-0
lines changed
parser/samples/html-entities
runtime/samples/html-entities-inside-elements
4 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ < p > this <em>should</em> not be < span > <strong>bold</strong></ span > </ p >
Original file line number Diff line number Diff line change
1
+ {
2
+ "hash" : 488075009 ,
3
+ "html" : {
4
+ "start" : 0 ,
5
+ "end" : 93 ,
6
+ "type" : " Fragment" ,
7
+ "children" : [
8
+ {
9
+ "start" : 0 ,
10
+ "end" : 93 ,
11
+ "type" : " Element" ,
12
+ "name" : " p" ,
13
+ "attributes" : [],
14
+ "children" : [
15
+ {
16
+ "start" : 3 ,
17
+ "end" : 43 ,
18
+ "type" : " Text" ,
19
+ "data" : " this <em>should</em> not be "
20
+ },
21
+ {
22
+ "start" : 43 ,
23
+ "end" : 89 ,
24
+ "type" : " Element" ,
25
+ "name" : " span" ,
26
+ "attributes" : [],
27
+ "children" : [
28
+ {
29
+ "start" : 49 ,
30
+ "end" : 82 ,
31
+ "type" : " Text" ,
32
+ "data" : " <strong>bold</strong>"
33
+ }
34
+ ]
35
+ }
36
+ ]
37
+ }
38
+ ]
39
+ },
40
+ "css" : null ,
41
+ "js" : null
42
+ }
Original file line number Diff line number Diff line change
1
+ export default {
2
+ html : `
3
+ <p>this <em>should</em> not be <span><strong>bold</strong></span></p>
4
+ `
5
+ } ;
Original file line number Diff line number Diff line change
1
+ < p > this <em>should</em> not be < span > <strong>bold</strong></ span > </ p >
You can’t perform that action at this time.
0 commit comments