strip_tags not working in title?
-
Hi Ajay!
I don’t think the strip_tags($title) on line 219 of top-core.php is working.
A title like:
Redskins Coach Says "Stats Are Always For Losers," Which Is Funny Because Stats Show He's A Loser
becomes on Twitter:
Redskins Coach Says "Stats Are Always For Losers," Which Is Funny Because Stats Show He's A Loser
the HTML source as shown by Twitter:
Redskins Coach Says "Stats Are Always For Losers," Which Is Funny Because Stats Show He's A Loser
maybe it would be better to convert them using htmlentities() or
htmlspecialchars().
Thanks!
-Brian
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘strip_tags not working in title?’ is closed to new replies.