Jump to content

[SOLVED] Possible bbcode bug


Recommended Posts

Hi

 

Possible bug in the bbcode parsing for this site.

 

I was trying to highlight a section of code when explaining something. Basically trying to highlight an array index in red:-

 

$SomeArray[1]

 

to

 

$SomeArray[1]

 

The above works fine.

 

However if it is index 0 then it doesn't

 

$SomeArray[0]

 

to

 

$SomeArray[color=red][0][/color]

 

which gives:-

 

$SomeArray[0]

 

All the best

 

Keith

Link to comment
https://forums.phpfreaks.com/topic/171518-solved-possible-bbcode-bug/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.