xhtml.php

来自「Serendipity是一个php+mysql的blog程序」· PHP 代码 · 共 33 行

PHP
33
字号
<?phpclass Text_Wiki_Render_Xhtml extends Text_Wiki_Render {        var $conf = array('translate' => HTML_ENTITIES);        function pre()    {        // attempt to translate HTML entities in the source before continuing.        $type = $this->getConf('translate', null);                // are we translating html?        if ($type !== false && $type !== null) {                    // yes! get the translation table.            $xlate = get_html_translation_table($type);                        // remove the delimiter character it doesn't get translated            unset($xlate[$this->wiki->delim]);                        // translate!            $this->wiki->source = strtr($this->wiki->source, $xlate);        }            }        function post()    {        return;    }    }?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?