Text_Wiki
[ class tree: Text_Wiki ] [ index: Text_Wiki ] [ all elements ]

Source for file Tighten.php

Documentation is available at Tighten.php

  1. <?php
  2. // $Id: Tighten.php,v 1.2 2004/09/25 19:05:13 pmjones 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.     
  16.     
  17.     /**
  18.     * 
  19.     * Apply tightening directly to the source text.
  20.     *
  21.     * @access public
  22.     * 
  23.     */
  24.     
  25.     function parse()
  26.     {
  27.         $this->wiki->source = str_replace("\n", '',
  28.             $this->wiki->source);
  29.     }
  30. }
  31. ?>

Documentation generated on Mon, 11 Mar 2019 13:56:54 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.