|
Previous Page |
Solar_Markdown_Wiki_Filter |
Next Page |
prepare()
public
string
prepare (
string $text
)
Pre-filters source text in the preparation phase.
Inherited from Solar_Markdown_Plugin_Prefilter.
Parameters
- (string)
$text: The source text.
Returns
- (string) $text The text after being filtered.
Description
Pre-filters source text in the preparation phase.
Converts DOS and Mac OS pre-X line endings to Unix line endings, adds 2 newlines to the end of the source, and converts all whitespace-only lines to simple newlines. Also converts tabs to spaces intelligently, keeping tab columns lined up.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _encode()
- _escape()
- _exception()
- _getTabWidth()
- _isHtmlToken()
- _outdent()
- _processBlocks()
- _processSpans()
- _tabsToSpaces()
- _toHtmlToken()
- _unHtmlToken()
- apiVersion()
- cleanup()
- dump()
- getChars()
- isBlock()
- isCleanup()
- isPrepare()
- isSpan()
- locale()
- parse()
- prepare()
- reset()
- setMarkdown()