Hash :
2b8321d3
Author :
Date :
2018-03-20T08:37:58
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
<div>
foobar for
<div>
foobar for
</div>
foobar for {i == 0 ? 42 : 0}}
</div>
----------------------------------------------------
[
["tag", [
["tag", [
["punctuation", "<"],
"div"
]],
["punctuation", ">"]
]],
["plain-text", "\r\n\tfoobar for\r\n\t"],
["tag", [
["tag", [
["punctuation", "<"],
"div"
]],
["punctuation", ">"]
]],
["plain-text", "\r\n\t\tfoobar for\r\n\t"],
["tag", [
["tag", [
["punctuation", "</"],
"div"
]],
["punctuation", ">"]
]],
["plain-text", "\r\n\tfoobar for "],
["punctuation", "{"],
"i ",
["operator", "=="],
["number", "0"],
["operator", "?"],
["number", "42"],
["punctuation", ":"],
["number", "0"],
["punctuation", "}"],
["plain-text", "}\r\n"],
["tag", [
["tag", [
["punctuation", "</"],
"div"
]],
["punctuation", ">"]
]]
]
----------------------------------------------------
Checks that plain text inside tags is unmatched.