From aa6bdb0649c2f2a63b4deae8c4984a660cd0400a Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 29 Apr 2023 13:45:38 -0600 Subject: include a CSS class in htmlconv output --- gemini/gemtext/htmlconv/convert_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gemini/gemtext/htmlconv/convert_test.go') diff --git a/gemini/gemtext/htmlconv/convert_test.go b/gemini/gemtext/htmlconv/convert_test.go index 641ffb8..6e8bfcd 100644 --- a/gemini/gemtext/htmlconv/convert_test.go +++ b/gemini/gemtext/htmlconv/convert_test.go @@ -32,8 +32,9 @@ This is some non-blank regular text. func TestConvert(t *testing.T) { htmlDoc := ` -

top-level header line

subtitle

This is some non-blank regular text. -

=> as if

=> https://google.com/

this is a quote
-tjp
doc := gemtext.Parse(req.Body)
+
+

top-level header line

subtitle

This is some non-blank regular text. +

=> as if

=> https://google.com/

this is a quote
-tjp
doc := gemtext.Parse(req.Body)
 
`[1:] doc, err := gemtext.Parse(bytes.NewBufferString(gmiDoc)) -- cgit v1.2.3