projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6445a0
)
Make sure a pattern doesn't include space.
author
VonC
<vonc@laposte.net>
Thu, 10 Oct 2013 09:45:06 +0000
(11:45 +0200)
committer
VonC
<vonc@laposte.net>
Mon, 4 Nov 2013 15:31:22 +0000
(16:31 +0100)
plugin/markdown/markdown.js
patch
|
blob
|
history
diff --git
a/plugin/markdown/markdown.js
b/plugin/markdown/markdown.js
index 537a0c54d1051ca3818c0f766a726a84b931f5d6..23b522edc1731497b6e033603f9193dc6b89c8a5 100755
(executable)
--- a/
plugin/markdown/markdown.js
+++ b/
plugin/markdown/markdown.js
@@
-28,8
+28,8
@@
var DEFAULT_SLIDE_SEPARATOR = '^\n---\n$',
DEFAULT_NOTES_SEPARATOR = 'note:',
- DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '{
_
\s*?([^}]+?)}',
- DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '^.*?<!--
slide-attributes:
(.*?)-->';
+ DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '{
\\\.
\s*?([^}]+?)}',
+ DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '^.*?<!--
\sslide-attributes:\s
(.*?)-->';
/**