Prevent content theft
Administrators Thanked: 265 раз
The most radical solution would be stripping all tags and then limiting the output to 60 characters:
return
mb_substr(
strip_tags
(
$text
), 0, 60).
"<br /><span class=\"readmore\"><a href=\""
.
$pag_pageurl
"\">"
$L
[
'ReadMore'
].
"</a></span>"
;