Beispiel #1
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'hr';
     $this->regexp = '/^={4,} *$/';
     $this->_closeNow = true;
 }
Beispiel #2
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'dfn';
     $this->regexp = "/^;(.*) : (.*)/i";
     $this->_openTag = '<dl>';
     $this->_closeTag = '</dl>';
 }
Beispiel #3
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'p';
     $this->regexp = "/(.*)/";
     $this->_openTag = '<p>';
     $this->_closeTag = '</p>';
 }
Beispiel #4
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'table';
     $this->regexp = "/^\\| ?(.*)/";
     $this->_openTag = '<table border="1">';
     $this->_closeTag = '</table>';
 }
Beispiel #5
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'title';
     $this->regexp = "/^(\\!{1,3})(.*)/";
     $this->_closeNow = true;
     $cfg = $wr->getConfig();
     $this->_minlevel = $cfg->minHeaderLevel;
     $this->_order = $cfg->headerOrder;
 }
Beispiel #6
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'list';
     $this->regexp = "/^([\\*#-]+)(.*)/";
 }
Beispiel #7
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'bq';
     $this->regexp = "/^(\\>+)(.*)/";
 }