(format string, args ...interface{})
| 809 | } |
| 810 | |
| 811 | func (p *parser) Printf(format string, args ...interface{}) { |
| 812 | if p.skipOutputDepth > 0 { |
| 813 | return |
| 814 | } |
| 815 | w := p.w |
| 816 | if !p.skipLineComments { |
| 817 | // line comments are required to start at the beginning of the line |
| 818 | p.s.WriteLineComment(w) |
| 819 | } |
| 820 | fmt.Fprintf(w, "%s", p.prefix) |
| 821 | fmt.Fprintf(w, format, args...) |
| 822 | fmt.Fprintf(w, "\n") |
| 823 | } |
| 824 | |
| 825 | func skipTagContents(s *scanner) error { |
| 826 | tagName := string(s.Token().Value) |
no test coverage detected