Home > Article > Backend Development > In smarty, strip_tags first filters the html tags and then truncate intercepts the article and uses it.
The strip_tags() function strips HTML, XML, and PHP tags.
Copy code The code is as follows:
world!"); ?>
Copy code The code is as follows:
$smarty = new Smarty;
$smarty->assign('articleTitle', "Blind Woman Gets