aboutsummaryrefslogtreecommitdiff
path: root/markdown/ast.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-12-13 18:09:40 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2025-12-13 18:09:48 +0100
commitaea07c141b3a2448ea367ad80ad5e12d04a78df7 (patch)
tree67031a6cfe4c5b42f9527410045f4d3793f32946 /markdown/ast.go
parentd695b39edf898e056a8de3724a020f15754fcea9 (diff)
refactor(markdown): use new dom package to create html
Diffstat (limited to 'markdown/ast.go')
-rw-r--r--markdown/ast.go5
1 files changed, 0 insertions, 5 deletions
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)))
-}