fix(render): Disable markdown parsing when the file is an HTML (#403)

This commit is contained in:
Romain Lenzotti 2018-03-01 15:27:30 +01:00 committed by cinwell.li
commit 278a75ebd5
2 changed files with 5 additions and 3 deletions

View file

@ -135,7 +135,7 @@ export function renderMixin (proto) {
callHook(this, 'afterEach', html, text => renderMain.call(this, text))
}
if (this.isHTML) {
html = this.result
html = this.result = text
callback()
next()
} else {