Property | Type | Description | |
---|---|---|---|
$block_elements | string | Block level elements that should not be wrapped inside tags |
|
$inline_elements | string | Tags we want the parser to completely ignore when splitting the string. | |
$inner_block_required | array | array of block level elements that require inner content to be within another block level element | |
$last_block_element | string | the last block element parsed | |
$protect_braced_quotes | boolean | whether or not to protect quotes within { curly braces } | |
$skip_elements | string | Elements that should not have and |
Method | Description | |
---|---|---|
auto_typography ( $str, $reduce_linebreaks = FALSE ) : string | Auto Typography | |
format_characters ( $str ) : string | Format Characters | |
nl2br_except_pre ( $str ) : string | Convert newlines to HTML line breaks except within PRE tags |
Method | Description | |
---|---|---|
_format_newlines ( $str ) : string | Format Newlines | |
_protect_characters ( $match ) : string | Protect Characters |
tags or
protected _format_newlines ( $str ) : string | ||
return | string |
protected _protect_characters ( $match ) : string | ||
return | string |
public auto_typography ( $str, $reduce_linebreaks = FALSE ) : string | ||
return | string |
public format_characters ( $str ) : string | ||
return | string |
public nl2br_except_pre ( $str ) : string | ||
return | string |
tags
public string $block_elements | ||
return | string |
public string $inline_elements | ||
return | string |
public array $inner_block_required | ||
return | array |
public string $last_block_element | ||
return | string |
public bool $protect_braced_quotes | ||
return | boolean |
and
tags within them.
public string $skip_elements | ||
return | string |