From 80aadaf74e901b184d86b536c0c01e0fe98623d0 Mon Sep 17 00:00:00 2001
From: Gabriel Pillet
Date: Thu, 31 Oct 2013 14:02:34 +0100
Subject: Removing global flag for replacing whitespaces
---
plugin/markdown/markdown.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'plugin/markdown/markdown.js')
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js
index d6c6c45..23a3ed4 100755
--- a/plugin/markdown/markdown.js
+++ b/plugin/markdown/markdown.js
@@ -49,7 +49,7 @@
text = text.replace( new RegExp('\\n?\\t{' + leadingTabs + '}','g'), '\n' );
}
else if( leadingWs > 1 ) {
- text = text.replace( new RegExp('\\n? {' + leadingWs + '}','g'), '\n' );
+ text = text.replace( new RegExp('\\n? {' + leadingWs + '}'), '\n' );
}
return text;
--
cgit v1.2.3
From 015468c3a2d1d4092f33920ac555a0e288e6213f Mon Sep 17 00:00:00 2001
From: Hakim El Hattab
Date: Mon, 17 Feb 2014 21:15:02 +0100
Subject: renamed markdown attributes for clarity and consistency:
data-vertical -> data-separator-vertical, data-notes -> data-separator-notes
---
README.md | 6 +++---
plugin/markdown/example.html | 4 ++--
plugin/markdown/markdown.js | 10 +++++-----
test/test-markdown-element-attributes.html | 8 ++++----
test/test-markdown-slide-attributes.html | 10 +++++-----
test/test-markdown.html | 4 ++--
6 files changed, 21 insertions(+), 21 deletions(-)
(limited to 'plugin/markdown/markdown.js')
diff --git a/README.md b/README.md
index 8a37a0d..cbdb088 100644
--- a/README.md
+++ b/README.md
@@ -59,8 +59,8 @@ When used locally, this feature requires that reveal.js [runs from a local web s
```html