Fix blockquote not parse correctly in slide mode

This commit is contained in:
Wu Cheng-Han 2017-10-05 09:59:07 +08:00
parent b469592db8
commit 8979f215ab
2 changed files with 1 additions and 3 deletions

View file

@ -55,8 +55,6 @@ const slideOptions = {
const slides = RevealMarkdown.slidify(body, slideOptions)
$('.slides').html(slides)
RevealMarkdown.initialize()
// fix < and > were doubly escaped
$('.slides')[0].innerHTML = $('.slides')[0].innerHTML.replace(/&amp;lt;/g, '&lt;').replace(/&amp;gt;/g, '&gt;')
removeDOMEvents($('.slides'))
$('.slides').show()