\s*
#','',$this->doc); } function toc_additem($id, $text, $level) { global $conf; //handle TOC if($level >= $conf['toptoclevel'] && $level <= $conf['maxtoclevel']){ $this->toc[] = html_mktocitem($id, $text, $level-$conf['toptoclevel']+1); } } function header($text, $level, $pos) { if(!$text) return; //skip empty headlines $hid = $this->_headerToLink($text,true); //only add items within configured levels $this->toc_additem($hid, $text, $level); // write the header $this->doc .= DOKU_LF.''.DOKU_LF; } function p_close() { $this->doc .= DOKU_LF.'
'.DOKU_LF; } function linebreak() { $this->doc .= '';
}
function monospace_close() {
$this->doc .= '
';
}
function subscript_open() {
$this->doc .= '';
}
function subscript_close() {
$this->doc .= '';
}
function superscript_open() {
$this->doc .= '';
}
function superscript_close() {
$this->doc .= '';
}
function deleted_open() {
$this->doc .= '' . $this->_xmlEntities($text) . ''. DOKU_LF; } function file($text) { $this->doc .= '
' . $this->_xmlEntities($text). ''. DOKU_LF; } function quote_open() { $this->doc .= '
'.DOKU_LF; } /** * Callback for code text * * Uses GeSHi to highlight language syntax * * @author Andreas Gohr'.DOKU_LF; } function quote_close() { $this->doc .= '