diff options
author | VonC | 2013-10-10 11:45:06 +0200 |
---|---|---|
committer | VonC | 2013-11-04 16:31:22 +0100 |
commit | e1b11e737e3f39339e1ccd31096b17aa84bc7efb (patch) | |
tree | 715588b44a8c4f28cdcbd7f572d7ee751aa0ea52 /plugin/markdown | |
parent | f6445a04a0270b83e46243c0d1ed23f27d64396b (diff) |
Make sure a pattern doesn't include space.
Diffstat (limited to 'plugin/markdown')
-rwxr-xr-x | plugin/markdown/markdown.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 537a0c5..23b522e 100755 --- 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(.*?)-->'; /** |