Forum Name In Portal Announcement
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #15
RE: Forum Name In Portal Announcement
Sorry, had a look at the code:

PHP Code:
			$forum['name'] = preg_replace("#&(?!\#[0-9]+;)#si", "&", $forum['name']); // Fix & but allow unicode
			$forum['description'] = preg_replace("#&(?!\#[0-9]+;)#si", "&", $forum['description']); // Fix & but allow unicode
			$forum['name'] = preg_replace("#&([^\#])(?![a-z1-4]{1,10};)#i", "&$1", $forum['name']);
			$forum['description'] = preg_replace("#&([^\#])(?![a-z1-4]{1,10};)#i", "&$1", $forum['description']);

So it does replace & but not tags.  Weird.

Other places:

PHP Code:
$foruminfo['name'] = preg_replace("#&(?!\#[0-9]+;)#si", "&", $foruminfo['name']);


Way to go for inconsistency...
Anyway, sorry about that.  I see your point.


My Blog
02-26-2011 11:40 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Forum Name In Portal Announcement - RateU - 02-19-2011, 05:10 AM
RE: Forum Name In Portal Announcement - ZiNgA BuRgA - 02-26-2011 11:40 AM

 Standard Tools
Forum Jump: