feat: finish ssr

This commit is contained in:
qingwei.li 2017-05-30 00:23:43 +08:00 committed by cinwell.li
commit 3444884905
12 changed files with 163 additions and 40 deletions

View file

@ -35,7 +35,7 @@ export class Compiler {
if (!text) return text
html = compile(text)
html = emojify(html)
html = config.noEmoji ? html : emojify(html)
slugify.clear()
return html