diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-01-11 10:05:42 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-01-11 10:05:42 +0100 |
commit | 12acf08ca51e4225afd5f5e3eba1ea80c22129fd (patch) | |
tree | 448b70cd7d30327aa06daff3195180ee761a1692 /plugin | |
parent | fba12abd6ad1ecb86c1c7f30a4dfcdf99f9f6c4b (diff) | |
parent | 625831b9930c50114ab96dd635813a36655e7614 (diff) | |
download | perl-software-in-gnu-guix-12acf08ca51e4225afd5f5e3eba1ea80c22129fd.tar perl-software-in-gnu-guix-12acf08ca51e4225afd5f5e3eba1ea80c22129fd.tar.gz |
Merge branch 'jetzhliu-patch-1' of https://github.com/jetzhliu/reveal.js into dev
Diffstat (limited to 'plugin')
-rwxr-xr-x | plugin/markdown/markdown.js | 2 |
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 |