summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Cheng-Han2016-08-14 11:21:45 +0800
committerWu Cheng-Han2016-08-14 11:21:45 +0800
commit9c898762636bd9785e039597606be8213851d5a2 (patch)
tree8e3fee23b75af287ac845d279451cc0fde934e30
parentf35aa94b414d3becd78f69de88c5592449f51e03 (diff)
Revert d85dd19816df7ec74eb3e4dd31b3c4d63c6119aa, which breaks slide preview layout
-rwxr-xr-xpublic/js/reveal-markdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/reveal-markdown.js b/public/js/reveal-markdown.js
index a969967c..ca22e09c 100755
--- a/public/js/reveal-markdown.js
+++ b/public/js/reveal-markdown.js
@@ -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,