First Bugfix just after one day

Found out, that if you try to place other vbcode within the spoiler, it doesn`t work anymore.

This is how to fix it:
Code:
if($counter%2==0) {
$bbcode = preg_replace("/(\[)(sp)(])(\r\n)*(.*)(\[\/sp\])/siU", "<normalfont>Spoiler:</normalfont><br><font color=\"#13486D\">\\5</font>", $bbcode);
}
else {
$bbcode = preg_replace("/(\[)(sp)(])(\r\n)*(.*)(\[\/sp\])/siU", "<normalfont>Spoiler:</normalfont><br><font color=\"#1C5780\">\\5</font>", $bbcode);
}
Now you can use other codes and smilies within the Spoiler, but they will be displayed normaly. The spoiler text stays invisible.
Instead of the colors
Code:
<font color=\"#13486D\">
and
<font color=\"#1C5780\">
use
Code:
{ firstaltcolor }
and
{ secondaltcolor } without the spaces.