don't hook blockhtml callback when escape_html is on
This commit is contained in:
parent
4d42772c32
commit
519691a235
1 changed files with 1 additions and 1 deletions
|
@ -605,6 +605,6 @@ sdhtml_renderer(struct sd_callbacks *callbacks, struct html_renderopt *options,
|
|||
callbacks->autolink = NULL;
|
||||
}
|
||||
|
||||
if (render_flags & HTML_SKIP_HTML)
|
||||
if (render_flags & HTML_SKIP_HTML || render_flags & HTML_ESCAPE)
|
||||
callbacks->blockhtml = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue