Méthode |
Description |
|
convert ( string $html ) : string |
Tries to convert the given HTML into a plain text format - best suited for
e-mail display, etc. |
|
fixMSEncoding ( DOMDocument $doc ) : DOMDocument |
Microsoft exchange emails often include HTML which, when passed through
html2text, results in lots of double line returns everywhere. |
|
fixNewlines ( string $text ) : string |
Unify newlines; in particular, \r\n becomes \n, and
then \r becomes \n. This means that all newlines (Unix, Windows, Mac)
all become \ns. |
|
isOfficeDocument ( $html ) |
Can we guess that this HTML is generated by Microsoft Office? |
|
iterateOverNode ( $node ) |
|
|
nextChildName ( $node ) |
|
|
prevChildName ( $node ) |
|
|