Return a *HTMLRenderer from NewHTMLRenderer Interfaces should be satisfied implicitly.
Pierre Neidhardt ambrevar@gmail.com
Fri, 01 Jul 2016 13:25:26 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
html.go
→
html.go
@@ -124,7 +124,7 @@ }
// 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 {