The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[FIXED] One extra line break for [php] codes in certain browsers
Browser: Mozilla Firebird 0.6
Problem: For some reason, when I view code in [php] tags, the code has one extra line break - code in [ code ] or [sql] tags do not have this problem, though. Example: Code:
if ($bbuserinfo['userid']!=0) { print "Your <b>userid</b> is $bbuserinfo['userid']." } else { print "You are not logged in, please log in!." } Code:
if ($bbuserinfo['userid']!=0) { print "Your <b>userid</b> is $bbuserinfo['userid']." } else { print "You are not logged in, please log in!." } Would be nice to have this fixed, so I don't always to remove the extra lines (although it isn't very difficult using PHP). |
#2
|
||||
|
||||
the php tag is a standart tag of vbulletin, so when there is a bug you should report it at vb.com
|
#3
|
||||
|
||||
True. Done.
|
#4
|
||||
|
||||
should be fixed now, can you please confirm?
|
#5
|
||||
|
||||
PHP Code:
|
#6
|
||||
|
||||
Thank you, it looks proper now.
|
#7
|
|||
|
|||
It's probably related to that POS highlight_file function in PHP...not only does it add tons of empty tags and useless garbage, but it screws up on highlighting like a $ in regexs...grr!
|
#9
|
||||
|
||||
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|