From 9c898762636bd9785e039597606be8213851d5a2 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sun, 14 Aug 2016 11:21:45 +0800 Subject: Revert d85dd19816df7ec74eb3e4dd31b3c4d63c6119aa, which breaks slide preview layout --- public/js/reveal-markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js/reveal-markdown.js') 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, -- cgit v1.2.3