소스 검색

accept both ~~LSB~~ and ~~lsb~~ forms

Fernando Ribeiro 9 년 전
부모
커밋
58f533b168
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      syntax/button.php

+ 1 - 0
syntax/button.php

@@ -35,6 +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\b.*?~~',$mode,'plugin_lsb_button');
     }