相关代码 |
|
// $Id: Tighten.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ /** * * The rule removes all remaining newlines. * * @author Paul M. Jones * * @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); } } ?>
相关资源 |
|