Update pattern to support multiple plugin invocations default tip
authorAndreas Boehler <andreas@aboehler.at>
Fri, 06 Jan 2017 20:18:51 +0100
changeset 3 dff2e2f9c400
parent 2 c0a24e8c5219
Update pattern to support multiple plugin invocations
helper.php
plugin.info.txt
--- a/helper.php	Mon Apr 27 12:40:43 2015 +0200
+++ b/helper.php	Fri Jan 06 20:18:51 2017 +0100
@@ -1,10 +1,6 @@
 <?php
 /** 
-  * Helper Class for the signpage plugin
-  * This helper does the actual work.
-  * Sign pages using a separate login and membership of a given group
-  * 
-  * Configurable in DokuWiki's configuration
+  * Helper Class for the csstimeline plugin
   */
   
 // must be run within Dokuwiki
@@ -12,7 +8,7 @@
 
 class helper_plugin_csstimeline extends DokuWiki_Plugin {
 
-    public $specialPattern = '<csstimeline>.*</csstimeline>';
+    public $specialPattern = '<csstimeline>.*?</csstimeline>';
     
     public function handleMatch($match)
     {
--- a/plugin.info.txt	Mon Apr 27 12:40:43 2015 +0200
+++ b/plugin.info.txt	Fri Jan 06 20:18:51 2017 +0100
@@ -1,7 +1,7 @@
 base   csstimeline
 author Andreas Boehler
 email  dev@aboehler.at
-date   2015-03-11
+date   2017-01-06
 name   csstimeline plugin
 desc   Create a CSS-only timeline; CSS is from http://nilswe.com/lab/css-timeline/
 url    http://www.aboehler.at