Home > PHP Solutions > strip_tags_smart: strip_tags Enhancement for PHP

strip_tags_smart: strip_tags Enhancement for PHP

If you’re working with various HTML in PHP, then you probably know that strim_tags doesn’t deal with all correctly. There are some problems with JS elements, with Microsoft , etc. In order to get clean text, there is a function that holds all these exceptions. Its name is _smart. You’re welcome to check its description here and the download link is located at dklab forum. Since the function uses GNU license, I won’t post any modified elements, you’re welcome to customize it in the way you like.

  1. Rin
    August 25th, 2009 at 19:08 | #1

    A package of PHP functions to manipulate strings encoded in UTF-8
    http://forum.dklab.ru/viewtopic.php?t=17146

  1. No trackbacks yet.