blob: 23b90045ec3f938a341568b0c0796a8df0cf4e4e (
plain)
1
2
3
4
5
6
7
8
9
|
package mardown
import "html/template"
type astLiteral string
func (a astLiteral) Eval() (template.HTML, error) {
return template.HTML(template.HTMLEscapeString(string(a))), nil
}
|