Open-Ended HTML Tags Closed Automatically?
Posted: Tue Feb 19, 2008 6:12 pm
I was originally going to ask if there was a function that would close any open tags that a module were to unintentionally/unavoidably produce. But after playing around with an extension I am writing, it appears that this is done automatically; however I would like to call the function, so as to have control over the specific place this happens.
Here is the scenario: I am building a component that uses a substr of the introtext of articles to shorten them for list display. Sometimes there are HTML tags in the text, and often times shortening the introtext cuts in the middle of the tags. As I mentioned it appears that this is done automatically; however I would like to call the function, so as to have control over the specific place this happens. Please confirm for me that I am not just seeing things and help me understand how to call this function. Thanks
Here is the scenario: I am building a component that uses a substr of the introtext of articles to shorten them for list display. Sometimes there are HTML tags in the text, and often times shortening the introtext cuts in the middle of the tags. As I mentioned it appears that this is done automatically; however I would like to call the function, so as to have control over the specific place this happens. Please confirm for me that I am not just seeing things and help me understand how to call this function. Thanks