Go to the source code of this file.
Functions | |
html_encode_str_smart ($html) | |
html_parse ($html, $recursive=false) | |
html_parse_elem ($html, $recursive=false) |
html_encode_str_smart | ( | $ | html | ) |
try to turn a mixture of html code an plain text into valid html
string | $html input |
Definition at line 23 of file html_parse.inc.php.
html_parse | ( | $ | html, | |
$ | recursive = false | |||
) |
parse a string containing html elements
this function decodes html's special characters except for the content (when it too is not being parsed). this function is more fragile than html_parse_elem() when it comes to malformatted input.
string | $html input string | |
bool | $recursive also parse children elements |
Definition at line 226 of file html_parse.inc.php.
html_parse_elem | ( | $ | html, | |
$ | recursive = false | |||
) |
parse exactly one html element
this function decodes html's special characters except for the content (when it too is not being parsed). this function is less fragile than html_parse() when it comes to malformatted input.
string | $html input string (must start and end with the element's tag) | |
bool | $recursive also parse children elements |
Definition at line 328 of file html_parse.inc.php.