Browse Source

accept both caps and small caps for 'lsb' tag

Fernando Ribeiro 9 years ago
parent
commit
0d3d27510b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      syntax/button.php

+ 1 - 1
syntax/button.php

@@ -35,7 +35,7 @@ class syntax_plugin_lsb_button extends DokuWiki_Syntax_Plugin {
      * @param string $mode Parser mode
      */
     public function connectTo($mode) {
-        $this->Lexer->addSpecialPattern('~~LSB\b.*?~~',$mode,'plugin_lsb_button');
+        $this->Lexer->addSpecialPattern('~~(lsb|LSB)\b.*?~~',$mode,'plugin_lsb_button');
     }
 
     /**