Fix blockquote not parse correctly in slide mode
This commit is contained in:
parent
b469592db8
commit
8979f215ab
2 changed files with 1 additions and 3 deletions
|
@ -320,7 +320,7 @@ import { md } from './extra'
|
|||
|
||||
var notes = section.querySelector('aside.notes')
|
||||
var markdown = getMarkdownFromSlide(section)
|
||||
|
||||
markdown = markdown.replace(/</g, '<').replace(/>/g, '>')
|
||||
var rendered = md.render(markdown)
|
||||
rendered = preventXSS(rendered)
|
||||
var result = window.postProcess(rendered)
|
||||
|
|
|
@ -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(/&lt;/g, '<').replace(/&gt;/g, '>')
|
||||
removeDOMEvents($('.slides'))
|
||||
$('.slides').show()
|
||||
|
||||
|
|
Loading…
Reference in a new issue