New answers tagged

1

As an alternative, you could have opened up your template and used php's native strip_tags function which allows a list of exceptions, so... echo strip_tags($this->item->introtext, '<img><p><listofallowedelements>');


1

It appears on review of Christo Kiwi's solution that it only works with a link which has an identical part of which you wish to remove. Based on your example, I suspect that your link is a variable and so you may need to take a slightly different approach. You first need to identify the start position and end position of the string component in the intro ...


0

The solution : The administrator must also belong to the Guest group.


Top 50 recent answers are included