Remove dead code

This commit is contained in:
Vytautas Šaltenis 2016-04-01 10:48:25 +03:00
parent a55b2615a4
commit 71fe9a191e
3 changed files with 0 additions and 9 deletions

View File

@ -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)

View File

@ -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 == "" {

View File

@ -210,7 +210,6 @@ type Renderer interface {
DocumentHeader()
DocumentFooter()
GetFlags() HtmlFlags
Write(b []byte) (int, error)
Render(ast *Node) []byte