PDA

View Full Version : Forum => [php][/php] = please replace with [code][/code]


V@no
08-04-03, 08:12 PM
Hello!
vbulletin forum software has a bug in php code highliting. This actualy became about "major" bug, that will screw up many code being posted here.
ok, let me demonstrate it:
this is the original code by using [ code ][ /code ] tags:preg_match("/^(.+?)\[w+\].+?\[\/w+\].*/",$text,$match);now compare it with this by using [ php ][ /php ] tags:preg_match("/^(.+?)\[w+\].+?\[\/w+\].*/",$text,$match);
as u can see all back slashes ( \ ) are being striped out, that makes code unuseble...
so, my "propose" to webmasters of this forum, please either fix the bug (I could provide u with step-by-step instructions ;)) or remove [ php ][ /php ] button and/or add button for [ code ][ /code ] tags.

thx for reading so far ;) :D

P.S. sorry if this was already discused...since I'm not sure how to correctly spell "phphighlite" the search didnt return any results.

Ryan
08-04-03, 08:53 PM
Moved to appropriate forum. This is a vBulletin issue and may have been fixed in vBulletin v3.0.0. I'll see if I can find anything further on this.