Page 1 of 1

Spoiler inside a spoiler finally possible

Posted: Thu May 31, 2012 10:51 am
by 3ICE
I was listening to IskatuMesk's Coffee Hour 8 and realized I never bothered to fix phpBB's inability to nest spoilers inside spoilers either. Granted, this is not a real fix, just a hack, but it's better than noting.

The idea is to create a new [ spoiler2] tag with the exact same settings and code as the original [ spoiler] tag. This lets phpBB nest the two in each other. Quick and easy hack until custom BBcode nesting is fixed in phpBB.

Now you can display a spoiler2 inside a spoiler.
Spoiler:
Harry Potter dies
Spoiler:
but only for a brief moment!

Code: Select all

[spoiler]Harry Potter dies [spoiler2]but only for a brief moment![/spoiler2][/spoiler]
--3ICE

p.s.: Up to 5 levels deep for now.
Spoiler:
One!
Spoiler:
Two!
Spoiler:
Three!
Spoiler:
Four!
Spoiler:
Five!