Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Commit

Permalink
Update info and slight cosmetic change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny committed Mar 19, 2013
1 parent 99aad47 commit 9f826da
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Christopher Arndt <chris@chrisarndt.de>
* Danny Lin <danny0838@gmail.com>
*/

if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
Expand All @@ -16,17 +17,12 @@
*/
class syntax_plugin_htmlcomment extends DokuWiki_Syntax_Plugin {

function getType() {
return 'substition';
}
function getType() { return 'substition'; }

function getSort() {
return 325;
}
function getSort() { return 325; }

function connectTo($mode) {
$this->Lexer->addSpecialPattern("<\!--.*?-->", $mode,
'plugin_htmlcomment');
$this->Lexer->addSpecialPattern("<\!--.*?-->", $mode, 'plugin_htmlcomment');
}

function handle($match, $state, $pos, &$handler) {
Expand Down

0 comments on commit 9f826da

Please sign in to comment.