tighten.php

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

PHP
32
字号
<?php// $Id: Tighten.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $/*** * The rule removes all remaining newlines.** @author Paul M. Jones <pmjones@ciaweb.net>** @package Text_Wiki**/class Text_Wiki_Parse_Tighten extends Text_Wiki_Parse {            /**    *     * Apply tightening directly to the source text.    *    * @access public    *     */        function parse()    {        $this->wiki->source = str_replace("\n", '',            $this->wiki->source);    }}?>

⌨️ 快捷键说明

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