MyBB Community Forums

Full Version: IMG tag messup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The bbcode parser doesn't work properly.

If you place 2 images after eachother like this:
[ img]http://stuff.com/image.png[/img] possibly some text
[ img]http://stuff.com/image2.png[/img]

It parses it as 1 image, taking the first img and the last /img tag as one image. Therefore the link is incorrect (because it takes "http://stuff.com/image.png[/img] possibly some text
[ img]http://stuff.com/image2.png" as link), so the image(s) won't show up.

You can fix it by placing some extra code in between, like this:
[ img]http://stuff.com/image.png[/img][ b][/b]
[ img]http://stuff.com/image2.png[/img]


I think the bbcode parser misses a quantifier minimizer in it's regex?

[Image: squall_cartoon.gif] possibly some text
[Image: squall_sig1.gif]

working fine here as you can see
I'm using 1.1.2, and it still happens...

[Image: postbit_email.gif][Image: postbit_email.gif]

Hmm this one works... must be something wrong with my installation.
could you give us a link pls
Working fine for me, , i have tested it on your board.