mirror of
https://github.com/russross/blackfriday.git
synced 2024-03-22 13:40:34 +08:00
Merge pull request #274 from Ambrevar/v2misc
v2: Implicit interface and Stringer
This commit is contained in:
commit
89653c9927
2
html.go
2
html.go
|
@ -107,7 +107,7 @@ const (
|
|||
|
||||
// NewHTMLRenderer creates and configures an HTMLRenderer object, which
|
||||
// satisfies the Renderer interface.
|
||||
func NewHTMLRenderer(params HTMLRendererParameters) Renderer {
|
||||
func NewHTMLRenderer(params HTMLRendererParameters) *HTMLRenderer {
|
||||
// configure the rendering engine
|
||||
closeTag := htmlClose
|
||||
if params.Flags&UseXHTML != 0 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user