(ctx *ExecutionContext, writer TemplateWriter)
| 11 | } |
| 12 | |
| 13 | func (n *nodeHTML) Execute(ctx *ExecutionContext, writer TemplateWriter) *Error { |
| 14 | res := n.token.Val |
| 15 | if n.trimLeft { |
| 16 | res = strings.TrimLeft(res, tokenSpaceChars) |
| 17 | } |
| 18 | if n.trimRight { |
| 19 | res = strings.TrimRight(res, tokenSpaceChars) |
| 20 | } |
| 21 | writer.WriteString(res) |
| 22 | return nil |
| 23 | } |
nothing calls this directly
no test coverage detected