all repos — grayfriday @ 2e53c20b2f3445b9520838f4a89c13c9ea2b0613

blackfriday fork with a few changes

Return a *HTMLRenderer from NewHTMLRenderer

Interfaces should be satisfied implicitly.
Pierre Neidhardt ambrevar@gmail.com
Fri, 01 Jul 2016 13:25:26 +0200
commit

2e53c20b2f3445b9520838f4a89c13c9ea2b0613

parent

37ffc1c86af55d060efdb8eaf9e003bf8e3fd770

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M html.gohtml.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 {