3
* Remove HTML tags, including invisible text such as style and
4
* script code, and embedded objects. Add line breaks around
5
* block-level tags to prevent word joining after tag removal.
8
//TODO:Fix this to work on invalid HTML
11
function html_to_text( $html ){
13
$text = strip_tags($html);