Subversion Repositories Applications.papyrus

Rev

Rev 1371 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
248 jpm 1
<?php
2
// $Id: Tighten.php,v 1.1 2005-01-20 19:43:20 jpm Exp $
3
 
4
 
5
/**
6
*
7
* The rule removes all remaining newlines.
8
*
9
* @author Paul M. Jones <pmjones@ciaweb.net>
10
*
11
* @package Text_Wiki
12
*
13
*/
14
 
15
class Text_Wiki_Parse_Tighten extends Text_Wiki_Parse {
16
 
17
 
18
    /**
19
    *
20
    * Apply tightening directly to the source text.
21
    *
22
    * @access public
23
    *
24
    */
25
 
26
    function parse()
27
    {
28
        $this->wiki->source = str_replace("\n", '',
29
            $this->wiki->source);
30
    }
31
}
32
?>