equal
deleted
inserted
replaced
1 <?php |
|
2 |
|
3 /** |
|
4 * |
|
5 * The rule removes all remaining newlines. |
|
6 * |
|
7 * @category Text |
|
8 * |
|
9 * @package Text_Wiki |
|
10 * |
|
11 * @author Paul M. Jones <pmjones@php.net> |
|
12 * |
|
13 * @license LGPL |
|
14 * |
|
15 * @version $Id: Tighten.php,v 1.3 2005/02/23 17:38:29 pmjones Exp $ |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 * |
|
22 * The rule removes all remaining newlines. |
|
23 * |
|
24 * @category Text |
|
25 * |
|
26 * @package Text_Wiki |
|
27 * |
|
28 * @author Paul M. Jones <pmjones@php.net> |
|
29 * |
|
30 */ |
|
31 |
|
32 class Text_Wiki_Parse_Tighten extends Text_Wiki_Parse { |
|
33 |
|
34 |
|
35 /** |
|
36 * |
|
37 * Apply tightening directly to the source text. |
|
38 * |
|
39 * @access public |
|
40 * |
|
41 */ |
|
42 |
|
43 function parse() |
|
44 { |
|
45 $this->wiki->source = str_replace("\n", '', |
|
46 $this->wiki->source); |
|
47 } |
|
48 } |
|
49 ?> |
|