aboutsummaryrefslogtreecommitdiff
path: root/markdown/ast.go
diff options
context:
space:
mode:
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)))
-}