projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update .bashrc
[dotfiles/.git]
/
test
/
cases
/
16-normalize_whitespace.json
1
{
2
"name": "Normalize whitespace",
3
"options": {
4
"normalizeWhitespace": true
5
},
6
"html": "Line one\n<br>\t \r\n\f <br>\nline two<font><br> x </font>",
7
"expected": [
8
{
9
"data": "Line one ",
10
"type": "text"
11
},
12
{
13
"type": "tag",
14
"name": "br",
15
"attribs": {}
16
},
17
{
18
"data": " ",
19
"type": "text"
20
},
21
{
22
"type": "tag",
23
"name": "br",
24
"attribs": {}
25
},
26
{
27
"data": " line two",
28
"type": "text"
29
},
30
{
31
"type": "tag",
32
"name": "font",
33
"attribs": {},
34
"children": [
35
{
36
"type": "tag",
37
"name": "br",
38
"attribs": {}
39
},
40
{
41
"data": " x ",
42
"type": "text"
43
}
44
]
45
}
46
]
47
}