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
Frage
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}
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow