From aea07c141b3a2448ea367ad80ad5e12d04a78df7 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Sat, 13 Dec 2025 18:09:40 +0100 Subject: refactor(markdown): use new dom package to create html --- markdown/ast.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'markdown/ast.go') diff --git a/markdown/ast.go b/markdown/ast.go index 9c9816e..2e073ee 100644 --- a/markdown/ast.go +++ b/markdown/ast.go @@ -5,7 +5,6 @@ import ( "errors" "fmt" "html/template" - "strings" ) var ErrUnkownLexType = errors.New("unkown lex type") @@ -107,7 +106,3 @@ func getBlock(lxs *lexers, newLine bool) (block, *ParseError) { } return b, err } - -func trimSpace(s template.HTML) template.HTML { - return template.HTML(strings.TrimSpace(string(s))) -} -- cgit v1.2.3