close Syndicate content

» Close HTML Tags

Wed, 07/19/2006 - 14:26

If you cut a html-formatted string at some random position (e.g. with my truncate() function) you might mess up the html. To circumvent that, this function will close all open tags at the end of the string: