Restore proper pattern for attributes in elements.
authorVonC <vonc@laposte.net>
Mon, 28 Oct 2013 13:46:33 +0000 (14:46 +0100)
committerVonC <vonc@laposte.net>
Mon, 4 Nov 2013 15:31:40 +0000 (16:31 +0100)
It is important that test/test-element-attributes-markdown.html do test
the ability for the user to define its own pattern.

test/test-element-attributes-markdown.html

index b7ab05437ce0d6dd8e434129aded7df35d4e4978..085380138c586c8063fba807a95e212c5433aa86 100644 (file)
@@ -22,7 +22,7 @@
                                <!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section> -->
 
                                <!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
-                               <section data-markdown data-separator="^\n---\n$" data-vertical="^\n--\n$">
+                               <section data-markdown data-separator="^\n---\n$" data-vertical="^\n--\n$" data-element-attributes="{_\s*?([^}]+?)}">>
                                        <script type="text/template">
                                                ## Slide 1.1 {_class="fragment fade-out" data-fragment-index="1"}