Преглед на файлове

Merge branch 'jetzhliu-patch-1' of https://github.com/jetzhliu/reveal.js into dev

Hakim El Hattab преди 9 години
родител
ревизия
12acf08ca5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      plugin/markdown/markdown.js

+ 1 - 1
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