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

Struct HTMLRenderer

html.go:106–118  ·  view source on GitHub ↗

HTMLRenderer is a type that implements the Renderer interface for HTML output. Do not create this directly, instead use the NewHTMLRenderer function.

Source from the content-addressed store, hash-verified

104//
105// Do not create this directly, instead use the NewHTMLRenderer function.
106type HTMLRenderer struct {
107 HTMLRendererParameters
108
109 closeTag string // how to end singleton tags: either " />" or ">"
110
111 // Track heading IDs to prevent ID collision in a single generation.
112 headingIDs map[string]int
113
114 lastOutputLen int
115 disableTags int
116
117 sr *SPRenderer
118}
119
120const (
121 xhtmlClose = " />"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected