From 76408590349f7f132c1dfeb9db3fb1dea964227c Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Tue, 30 Nov 2021 18:32:30 +0100 Subject: spans: support attribute names --- tests/span-tests/demo.html | 2 ++ tests/span-tests/demo.out | 12 ++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'tests/span-tests') diff --git a/tests/span-tests/demo.html b/tests/span-tests/demo.html index 900f74c..53bbab2 100644 --- a/tests/span-tests/demo.html +++ b/tests/span-tests/demo.html @@ -1 +1,3 @@ this is a tag:

test

+ +tags can have attributes:
diff --git a/tests/span-tests/demo.out b/tests/span-tests/demo.out index 98d6766..2b69ce5 100644 --- a/tests/span-tests/demo.out +++ b/tests/span-tests/demo.out @@ -1,7 +1,11 @@ note: - ┌─ test.html:1:17 + ┌─ test.html:1:1 │ 1 │ this is a tag:

test

- │ ^^ ^^ end tag - │ │ - │ start tag + │ ^^^^^^ ^^ ^^ end tag + │ │ │ + │ │ start tag + │ attr value +2 │ +3 │ tags can have attributes:
+ │ ^^ attr name -- cgit v1.2.3