You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`.a<newline>.b`: whitespace that doesn't start or end with a single space character is stored as a raw value.
27
-
- 3.x: `combinator.value === "\n"`
28
-
- 3.x: `combinator.raws.value === undefined`
29
-
- 4.0: `combinator.value === " "`
30
-
- 3.x: `combinator.raws.value === "\n"`
33
+
- Old & Busted:
34
+
-`combinator.value === "\n"`
35
+
-`combinator.raws.value === undefined`
36
+
- New hotness:
37
+
-`combinator.value === " "`
38
+
-`combinator.raws.value === "\n"`
31
39
32
40
### Support for "Named Combinators"
33
41
@@ -38,14 +46,14 @@ Because they've been taken off the standardization track, there is no spec-offic
38
46
Before this release such named combinators were parsed without intention and generated three nodes of type `"tag"` where the first and last nodes had a value of `"/"`.
39
47
40
48
*`.a /for/ .b` is parsed as a combinator.
41
-
-In prior releases:
49
+
-Old & Busted:
42
50
-`root.nodes[0].nodes[1].type === "tag"`
43
51
-`root.nodes[0].nodes[1].value === "/"`
44
52
- New hotness:
45
53
-`root.nodes[0].nodes[1].type === "combinator"`
46
54
-`root.nodes[0].nodes[1].value === "/for/"`
47
55
*`.a /F\6fR/ .b` escapes are handled and uppercase is normalized.
0 commit comments