protected formatContent ( string $html, boolean $convertNewlines = false, boolean $filter = false ) : string | ||
$html | string | The HTML to filter. |
$convertNewlines | boolean | Whether to convert new lines to html br tags. |
$filter | boolean | Whether to escape HTML or not. |
Résultat | string | The filtered HTML string. |