We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a54b29 commit 6d406e4Copy full SHA for 6d406e4
test/cases/attrs-spread.expected.json
@@ -37,4 +37,12 @@
37
{"type":"spread-attribute","line":7,"col":5,"val":"attrs","mustEscape":false}
38
{"type":"end-attributes","line":9,"col":7}
39
{"type":"newline","line":10,"col":1}
40
-{"type":"eos","line":10,"col":1}
+{"type":"tag","line":10,"col":1,"val":"div"}
41
+{"type":"start-attributes","line":10,"col":4}
42
+{"type":"attribute","line":10,"col":5,"name":"...attrs","val":true,"mustEscape":true}
43
+{"type":"spread-attribute","line":10,"col":16,"val":"attrs","mustEscape":true}
44
+{"type":"attribute","line":10,"col":26,"name":"...attrs","val":"'val'","mustEscape":true}
45
+{"type":"attribute","line":10,"col":44,"name":"...","val":true,"mustEscape":true}
46
+{"type":"end-attributes","line":10,"col":49}
47
+{"type":"newline","line":11,"col":1}
48
+{"type":"eos","line":11,"col":1}
test/cases/attrs-spread.pug
@@ -7,3 +7,4 @@ div(...!attrs)
7
div(...
8
!
9
attrs)
10
+div("...attrs" ...attrs, '...attrs' ='val' "...")
0 commit comments