diff --git a/html.go b/html.go index 9433072..f2bc204 100644 --- a/html.go +++ b/html.go @@ -238,10 +238,6 @@ func (r *HTML) entityEscapeWithSkip(src []byte, skipRanges [][]int) { 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) diff --git a/latex.go b/latex.go index a68028e..03fb790 100644 --- a/latex.go +++ b/latex.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 == "" { diff --git a/markdown.go b/markdown.go index d46bb2a..899a98f 100644 --- a/markdown.go +++ b/markdown.go @@ -210,7 +210,6 @@ type Renderer interface { DocumentHeader() DocumentFooter() - GetFlags() HtmlFlags Write(b []byte) (int, error) Render(ast *Node) []byte