'.DOKU_LF; } function p_close() { echo DOKU_LF.'
'.DOKU_LF; } function linebreak() { echo '';
}
function monospace_close() {
echo '
';
}
function subscript_open() {
echo '';
}
function subscript_close() {
echo '';
}
function superscript_open() {
echo '';
}
function superscript_close() {
echo '';
}
function deleted_open() {
echo '' . $this->__xmlEntities($text) . ''. DOKU_LF; } function file($text) { echo '
' . $this->__xmlEntities($text). ''. DOKU_LF; } /** * @TODO Shouldn't this output
'.DOKU_LF; } /** * @TODO Shouldn't this output? */ function quote_close() { echo ''.DOKU_LF; } /** */ function code($text, $language = NULL) { global $conf; if ( is_null($language) ) { $this->preformatted($text); } else { // Handle with Geshi here FIXME: strip first beginning newline require_once(DOKU_INC . 'inc/geshi.php'); $geshi = new GeSHi($text, strtolower($language), DOKU_INC . 'inc/geshi'); $geshi->enable_classes(); $geshi->set_header_type(GESHI_HEADER_PRE); $geshi->set_overall_class('code'); $geshi->set_link_target($conf['target']['extern']); $text = $geshi->parse_code(); echo $text; } } function acronym($acronym) { if ( array_key_exists($acronym, $this->acronyms) ) { $title = $this->__xmlEntities($this->acronyms[$acronym]); echo ''.$this->__xmlEntities($acronym).''; } else { echo $this->__xmlEntities($acronym); } } /** */ function smiley($smiley) { if ( array_key_exists($smiley, $this->smileys) ) { $title = $this->__xmlEntities($this->smileys[$smiley]); echo '