(w io.Writer, text []byte)
| 386 | } |
| 387 | |
| 388 | func (r *HTMLRenderer) out(w io.Writer, text []byte) { |
| 389 | if r.disableTags > 0 { |
| 390 | w.Write(htmlTagRe.ReplaceAll(text, []byte{})) |
| 391 | } else { |
| 392 | w.Write(text) |
| 393 | } |
| 394 | r.lastOutputLen = len(text) |
| 395 | } |
| 396 | |
| 397 | func (r *HTMLRenderer) cr(w io.Writer) { |
| 398 | if r.lastOutputLen > 0 { |
no outgoing calls
no test coverage detected