Source for file Prefilter.php
Documentation is available at Prefilter.php
// $Id: Prefilter.php,v 1.2 2004/09/25 19:05:13 pmjones Exp $
* "Pre-filter" the source text.
* Convert DOS and Mac line endings to Unix, concat lines ending in a
* backslash \ with the next line, convert tabs to 4-spaces, add newlines
* to the top and end of the source text, compress 3 or more newlines to
* @author Paul M. Jones <pmjones@ciaweb.net>
// convert DOS line endings
// convert Macintosh line endings
// concat lines ending in a backslash
// convert tabs to four-spaces
// add extra newlines at the top and end; this
// seems to help many rules.
$this->wiki->source = "\n" . $this->wiki->source . "\n\n";
// finally, compress all instances of 3 or more newlines
Documentation generated on Mon, 11 Mar 2019 13:56:11 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|