pull/494/merge
Marcus Willock 2020-11-06 12:47:35 +00:00 committed by GitHub
commit 8476ff2cea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -240,6 +240,10 @@ func (options *Html) Header(out *bytes.Buffer, text func() bool, level int, id s
}
func (options *Html) BlockHtml(out *bytes.Buffer, text []byte) {
options.BlockHTML(out, text)
}
func (options *Html) BlockHTML(out *bytes.Buffer, text []byte) {
if options.flags&HTML_SKIP_HTML != 0 {
return
}
@ -582,6 +586,10 @@ func (options *Html) Link(out *bytes.Buffer, link []byte, title []byte, content
}
func (options *Html) RawHtmlTag(out *bytes.Buffer, text []byte) {
options.RawHTMLTag(out, text)
}
func (options *Html) RawHTMLTag(out *bytes.Buffer, text []byte) {
if options.flags&HTML_SKIP_HTML != 0 {
return
}