The behavior of this function is causing me some problems;
If I feed it the following ;
Text [tag]some more text[/tag] end.
Then I would expect to get back ;
Text end.
i.e. It strips the tags and anything inside them.
What I actually get is
Text some more text end.
(it simply removes the tags, not the text between them)
Is this expected behavior (and if so why ?).
If I feed it the following ;
Text [tag]some more text[/tag] end.
Then I would expect to get back ;
Text end.
i.e. It strips the tags and anything inside them.
What I actually get is
Text some more text end.
(it simply removes the tags, not the text between them)
Is this expected behavior (and if so why ?).
Comment