fix html whitespace truncation

This commit is contained in:
Shawn Erquhart 2017-07-27 11:02:34 -04:00
parent 750fbf5e3d
commit 336cab2592

View File

@ -589,8 +589,6 @@ export const remarkToHtml = mdast => {
const result = unified()
.use(remarkToRehypeShortcodes, { plugins: registry.getEditorComponents() })
.use(remarkToRehype, { allowDangerousHTML: true })
.use(rehypeRemoveEmpty)
.use(rehypeMinifyWhitespace)
.runSync(mdast);
const output = unified()