smarty Удалить html тэги из строки - на примере тэга <p>
Primary tabs
Удаляем из переменной $text все тэги "пэ":
{$text|regex_replace:"/(<p>|<p [^>]*>|<\\/p>)/":""}
- Log in to post comments
- 2137 reads
{$text|regex_replace:"/(<p>|<p [^>]*>|<\\/p>)/":""}