From 625831b9930c50114ab96dd635813a36655e7614 Mon Sep 17 00:00:00 2001
From: Liu Zhanhong <275368990@qq.com>
Date: Mon, 19 Oct 2015 19:50:43 +0800
Subject: [PATCH] format note content when creating slide
In html content, marked allow `Inline-Level Grammar` but not `Block-Level Grammar`, so when I write following:
```
note:
* a
* b
* c
```
it become:
```html
a
b
c
```
unbelievable!
---
plugin/markdown/markdown.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js
index f4035e2e..031160c2 100755
--- a/plugin/markdown/markdown.js
+++ b/plugin/markdown/markdown.js
@@ -117,7 +117,7 @@
var notesMatch = content.split( new RegExp( options.notesSeparator, 'mgi' ) );
if( notesMatch.length === 2 ) {
- content = notesMatch[0] + '';
+ content = notesMatch[0] + '';
}
// prevent script end tags in the content from interfering