TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Feedback (http://www.talkphp.com/feedback/)
-   -   BBCode bugs (http://www.talkphp.com/feedback/2425-bbcode-bugs.html)

wGEric 03-05-2008 09:36 PM

BBCode bugs
 
Code:

this shouldn't be bold but it is.

this shouldn't be a link

IMO the code tag shouldn't be parsing BBCode within it. I'm not sure if this is standard in vBulletin or not. If it is, then don't worry about it. This makes it hard to post bbcode examples for people and in some cases code can get messed up.


Quote the post to see these. Pretty much when you put bbcodes within the function bbcode it doesn't work.
include" target="_blank">include

test

javascript:alert('test');
Above produces a weird result. Why <b> in the middle? heh. I guess that can prevent an exploit.

test" target="_blank">test

PHP Code:

<?php //some php ?>

" target="_blank">
PHP Code:

<?php //some php ?>



Code:

some code
" target="_blank">
Code:

some code



You get the idea.

Alan @ CIT 03-05-2008 10:33 PM

You've got to love vBulletins BBCode parser :-)

To get around the problem of BBCode in code tags (or anywhere infact), you can use the [noparse][/noparse] tags. Just put your BBCode inside those tags and they won't be parsed.

Alan


All times are GMT. The time now is 03:50 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0