From 04b07b3715a815f0140d870fb88a6822f06cf5cb Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 28 Oct 2023 02:23:11 +0200 Subject: Allow for true HTML ID- and class shorthands --- formatter/formatter_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'formatter/formatter_test.go') diff --git a/formatter/formatter_test.go b/formatter/formatter_test.go index fe3af4d..c5f0b83 100644 --- a/formatter/formatter_test.go +++ b/formatter/formatter_test.go @@ -39,10 +39,10 @@ func TestPrintAst(t *testing.T) { >title {- My Website } - meta x="y"{} + meta .→{} x="y"{} } >body { - >div #some-id{} + >div #some-id {} div key="val" .class-1 .class-2 { p {- This is some @em{-emphatic} text } } @@ -53,7 +53,7 @@ func TestPrintAst(t *testing.T) { result := ` My Website - +

This is some emphatic text

` -- cgit v1.2.3