Lines Matching +defs:text +defs:html
5 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
37 function header($text, $level, $pos, $returnonly = false) {
38 parent::header($text, $level, $pos);
83 function preformatted($text, $type='code') {
85 trim($this->_xmlEntities($text),"\n\r").
98 function php($text, $wrapper='code') {
103 eval($text);
108 $code .= trim(p_xhtml_cached_geshi($text, 'php', false),"\n\r");
113 $this->doc .= p_xhtml_cached_geshi($text, 'php', $wrapper);
117 function html($text, $wrapper='code') {
121 $this->doc .= $text;
124 $code .= trim(p_xhtml_cached_geshi($text, 'html4strict', false),"\n\r");
129 $this->doc .= p_xhtml_cached_geshi($text, 'html4strict', $wrapper);
133 function _highlight($type, $text, $language=null, $filename=null, $options = null) {
149 if ($text[0] == "\n") {
150 $text = substr($text, 1);
152 if (substr($text, -1) == "\n") {
153 $text = substr($text, 0, -1);
157 $this->preformatted($text, $type);
163 p_xhtml_cached_geshi($text, $language, '').