Check the split_tag in php, it removes HTML tags for text (you can specify which tags to remove): http://ca3.php.net/strip_tags
how to make redactor to not strip a specific regular expression
Question
I am using Smarty Template Engine and I need imperavi to not strip anything thats inside curly braces. So the code below would show:
<strong>{$entity->fullname|capitalize}</strong>
like
{$entity->fullname|capitalize}
in bold text but wouldn't convert it into
{$entity->fullname|capitalize}
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow