MCPcopy
hub / github.com/russross/blackfriday / out

Method out

html.go:388–395  ·  view source on GitHub ↗
(w io.Writer, text []byte)

Source from the content-addressed store, hash-verified

386}
387
388func (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
397func (r *HTMLRenderer) cr(w io.Writer) {
398 if r.lastOutputLen > 0 {

Callers 3

crMethod · 0.95
outHRTagMethod · 0.95
RenderNodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected