aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2016-01-11 10:05:42 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-01-11 10:05:42 +0100
commit12acf08ca51e4225afd5f5e3eba1ea80c22129fd (patch)
tree448b70cd7d30327aa06daff3195180ee761a1692 /plugin
parentfba12abd6ad1ecb86c1c7f30a4dfcdf99f9f6c4b (diff)
parent625831b9930c50114ab96dd635813a36655e7614 (diff)
downloadfosdem-2018-presentation-12acf08ca51e4225afd5f5e3eba1ea80c22129fd.tar
fosdem-2018-presentation-12acf08ca51e4225afd5f5e3eba1ea80c22129fd.tar.gz
Merge branch 'jetzhliu-patch-1' of https://github.com/jetzhliu/reveal.js into dev
Diffstat (limited to 'plugin')
-rwxr-xr-xplugin/markdown/markdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js
index ab8f2e9..ad596bf 100755
--- a/plugin/markdown/markdown.js
+++ b/plugin/markdown/markdown.js
@@ -120,7 +120,7 @@
var notesMatch = content.split( new RegExp( options.notesSeparator, 'mgi' ) );
if( notesMatch.length === 2 ) {
- content = notesMatch[0] + '<aside class="notes" data-markdown>' + notesMatch[1].trim() + '</aside>';
+ content = notesMatch[0] + '<aside class="notes">' + marked(notesMatch[1].trim()) + '</aside>';
}
// prevent script end tags in the content from interfering