all repos — grayfriday @ 71fe9a191ecf3fc27343e04eae4c923d13161d4c

blackfriday fork with a few changes

Remove dead code
Vytautas Ĺ altenis vytas@rtfb.lt
Fri, 01 Apr 2016 10:48:25 +0300
commit

71fe9a191ecf3fc27343e04eae4c923d13161d4c

parent

a55b2615a4a5d23822661f416417d71dcb58bd47

3 files changed, 0 insertions(+), 9 deletions(-)

jump to
M html.gohtml.go

@@ -238,10 +238,6 @@ }

r.attrEscape(src[end:]) } -func (r *HTML) GetFlags() HtmlFlags { - return r.flags -} - func (r *HTML) TitleBlock(text []byte) { text = bytes.TrimPrefix(text, []byte("% ")) text = bytes.Replace(text, []byte("\n% "), []byte("\n"), -1)
M latex.golatex.go

@@ -40,10 +40,6 @@ func (r *Latex) Write(b []byte) (int, error) {

return r.w.Write(b) } -func (r *Latex) GetFlags() HtmlFlags { - return 0 -} - // render code chunks using verbatim, or listings if we have a language func (r *Latex) BlockCode(text []byte, lang string) { if lang == "" {
M markdown.gomarkdown.go

@@ -210,7 +210,6 @@ // Header and footer

DocumentHeader() DocumentFooter() - GetFlags() HtmlFlags Write(b []byte) (int, error) Render(ast *Node) []byte