all repos — grayfriday @ ce05617fea9bde4667ddc1bb8ceefe9d2a00ee5d

blackfriday fork with a few changes

Return *Latex from NewLatexRenderer
Vytautas Ĺ altenis vytas@rtfb.lt
Wed, 27 Jul 2016 09:47:58 +0300
commit

ce05617fea9bde4667ddc1bb8ceefe9d2a00ee5d

parent

a4f1e5c786bb9fedf9ed5b76b58a1c5142b693fa

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

jump to
M latex.golatex.go

@@ -32,7 +32,7 @@ // satisfies the Renderer interface.

// // flags is a set of LATEX_* options ORed together (currently no such options // are defined). -func NewLatexRenderer(flags int) Renderer { +func NewLatexRenderer(flags int) *Latex { var writer bytes.Buffer return &Latex{ w: writer,