Rev 1372 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php
// $Id: Tighten.php,v 1.1 2005-01-20 19:43:20 jpm 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);
}
}
?>