2006-08-02 10:07:34 +00:00

32 lines
496 B
PHP

<?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);
}
}
?>