Geordnet
2013-09-25, 08:12 PM
Specifically, I'm trying to get something like this to work:
{SPOILER}{code}{SPOILER}
{b}Text here.{/b}
{/SPOILER}{/code}{/SPOILER}
Where the internal spoiler brackets weren't parsed.
But what I got was:
Text here.
So, I tried adding a noparse tag:
{SPOILER}{code}{noparse}{SPOILER}
{b}Text here.{/b}
{/SPOILER}{/noparse}{/code}{/SPOILER}
But that was even worse:
Text here.
I tried putting the outer spoilers on another line. However, this:
{SPOILER}
{code}{noparse}{SPOILER}
{b}Text here.{/b}
{/SPOILER}{/noparse}{/code}
{/SPOILER}
Results in this:
Text here.
Removing the inner spoiler tag helps, but...
{SPOILER}{code}{noparse}
{b}Text here.{/b}
{/noparse}{/code}{/SPOILER}
It alone wasn't enough.
Text here.
Edit: or maybe it was. Hmm, I could have sworn I tried that...
Only the following code would parse right:
{SPOILER}
{code}{noparse}
{b}Text here.{/b}
{/noparse}{/code}
{/SPOILER}
Producing:
Text here.
Which is bad, because all of these statements should have parsed correctly. Obviously something is flawed in the bbcode parser, and it needs to be fixed.
{SPOILER}{code}{SPOILER}
{b}Text here.{/b}
{/SPOILER}{/code}{/SPOILER}
Where the internal spoiler brackets weren't parsed.
But what I got was:
Text here.
So, I tried adding a noparse tag:
{SPOILER}{code}{noparse}{SPOILER}
{b}Text here.{/b}
{/SPOILER}{/noparse}{/code}{/SPOILER}
But that was even worse:
Text here.
I tried putting the outer spoilers on another line. However, this:
{SPOILER}
{code}{noparse}{SPOILER}
{b}Text here.{/b}
{/SPOILER}{/noparse}{/code}
{/SPOILER}
Results in this:
Text here.
Removing the inner spoiler tag helps, but...
{SPOILER}{code}{noparse}
{b}Text here.{/b}
{/noparse}{/code}{/SPOILER}
It alone wasn't enough.
Text here.
Edit: or maybe it was. Hmm, I could have sworn I tried that...
Only the following code would parse right:
{SPOILER}
{code}{noparse}
{b}Text here.{/b}
{/noparse}{/code}
{/SPOILER}
Producing:
Text here.
Which is bad, because all of these statements should have parsed correctly. Obviously something is flawed in the bbcode parser, and it needs to be fixed.