浏览代码

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