The Arcive of vBulletin Modifications Site. |
|
[PHP] and [CODE] tags parsing Details »»
|
|||||||||||||||||||||||||
Hi,
one of my staff members posted on vbulletin.com's support forums asking about why vB puts a space in certain code when displayed inside the code/php-vB-tags. For example: Code:
<a href="javascript:window.open(...);">Link</a> Never heard of anything like that. Is there a hack to get the code parsed the more "correct" way? Till P.S. If anyone is interested in the thread: http://www.vbulletin.com/forum/showt...threadid=48055 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
This is by design, not a bug.
To remove this protection, open /admin/functions.php and delete this code: Code:
"/javascript:/si", And also remove this code: Code:
"java script:", |
|
#3
|
|||
|
|||
|
Quote:
|
![]() |
|
|