From: VonC Date: Thu, 10 Oct 2013 09:45:06 +0000 (+0200) Subject: Make sure a pattern doesn't include space. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e1b11e737e3f39339e1ccd31096b17aa84bc7efb;p=reveal.js.git Make sure a pattern doesn't include space. --- 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 = '^.*?'; + DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '{\\\.\s*?([^}]+?)}', + DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '^.*?'; /**