浏览代码

accept both caps and small caps for 'lsb' tag

Fernando Ribeiro 9 年之前
父节点
当前提交
0d3d27510b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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');
     }
 
     /**