Jelajahi Sumber

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

Hakim El Hattab 9 tahun lalu
induk
melakukan
12acf08ca5
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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