Definition at line 14 of file ElggAutoP.php.
ElggAutoP::__construct |
( |
| ) |
|
ElggAutoP::addParagraphs |
( |
DOMElement |
$el | ) |
|
|
protected |
Add P and BR elements as necessary.
- Parameters
-
- Returns
- void
Definition at line 196 of file ElggAutoP.php.
ElggAutoP::process |
( |
|
$html | ) |
|
Create wrapper P and BR elements in HTML depending on newlines.
Useful when users use newlines to signal line and paragraph breaks. In all cases output should be well-formed markup.
In DIV, LI, TD, and TH elements, Ps are only added when their would be at least two of them.
- Parameters
-
- Returns
- string|false output or false if parse error occurred
Definition at line 82 of file ElggAutoP.php.
Initial value:= 'article aside blockquote body details div footer header
section'
Definition at line 54 of file ElggAutoP.php.
Initial value:= 'address article area aside blockquote caption col colgroup dd
details div dl dt fieldset figure figcaption footer form h1 h2 h3 h4 h5 h6 header
hr hgroup legend map math menu nav noscript p pre section select style summary
table tbody td tfoot th thead tr ul ol option li'
Definition at line 28 of file ElggAutoP.php.
Initial value:= 'article aside blockquote body details div footer form
header section'
Definition at line 46 of file ElggAutoP.php.
Initial value:= 'a abbr audio b button canvas caption cite code command datalist
del dfn em embed i iframe img input ins kbd keygen label map mark meter object
output progress q rp rt ruby s samp script select small source span strong style
sub sup textarea time var video wbr'
Definition at line 36 of file ElggAutoP.php.
ElggAutoP::$_xpath = null |
|
protected |
ElggAutoP::$encoding = 'UTF-8' |
The documentation for this class was generated from the following file: