Revert d85dd19816, which breaks slide preview layout

This commit is contained in:
Wu Cheng-Han 2016-08-14 11:21:45 +08:00
parent f35aa94b41
commit 9c89876263

View file

@ -355,7 +355,7 @@
var rendered = md.render(markdown);
rendered = preventXSS(rendered);
var result = postProcess(rendered);
section.innerHTML = result[0].innerHTML;
section.innerHTML = result[0].outerHTML;
addAttributes( section, section, null, section.getAttribute( 'data-element-attributes' ) ||
section.parentNode.getAttribute( 'data-element-attributes' ) ||
DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR,