Un-openable spoiler boxes


Website Feedback


Occasionally, when I make a post with a spoiler-box, the spoiler cannot be opened. Clicking on 'show' has no effect. If I edit the post, the text inside the spoiler is still there, but if I wait an hour until I can no longer edit, the text inside the spoiler box is inaccessible to everyone.

This happens only rarely, and if I catch it in the first hour, I can just repost and it is usually gone.

The most recent time it happened to me was this post, where the second nested spoiler (titled 'giant') does not open.
The first time it happened to me (IIRC) was last September. That time, though, I caught it before the first hour was up and edited, and the glitch went away.

Has anyone else experienced this glitch? Does anyone with knowledge of the forum's code know why it might be occurring?
I use firefox and Windows 8.1, although when I experience this glitch, the glitched spoiler box remains un-openable in other browsers (Chrome, IE, and Safari on my IPhone).


Pathfinder Maps, Starfinder Society Subscriber; Pathfinder Roleplaying Game Superscriber

I've never experienced this, but I never do nested spoilers, so it made me curious. Does this only happen to you with nested spoilers, or does it happen when you just have one level spoiler boxes?

EDIT - Never mind, I checked the "first time" example and realized it wasn't nested, so that answers that.

Community & Digital Content Director

Heya, looking at the posts you linked, it looks like this isn't a glitch in the spoiler javascript, but an issue that happens when other tags aren't closed properly (in this case, the italics tag didn't close). I have a report filed with our tech team to implement behavior for this kind of thing that makes it more obvious to the user what's going on.


Chris Lambertz wrote:
Heya, looking at the posts you linked, it looks like this isn't a glitch in the spoiler javascript, but an issue that happens when other tags aren't closed properly (in this case, the italics tag didn't close). I have a report filed with our tech team to implement behavior for this kind of thing that makes it more obvious to the user what's going on.

Thanks!


Whoa, you can nest spoilers now? Last time I tried, you couldn't put a spoiler inside a spoiler.

Test:
Does this work now?

Spoiler:
Yes? Yes!


Joana wrote:

Whoa, you can nest spoilers now? Last time I tried, you couldn't put a spoiler inside a spoiler.

** spoiler omitted **[/spoiler]

The trick is that you can't give the inner spoiler a name. So, for a normal spoiler

you can name it, but:
The inner spoiler
Spoiler:
Cannot have a title. Also, you can't nest three layers deep.


137ben wrote:

{. . .}

The most recent time it happened to me was this post, where the second nested spoiler (titled 'giant') does not open.
The first time it happened to me (IIRC) was last September. That time, though, I caught it before the first hour was up and edited, and the glitch went away.
{. . .}

Looks to me like all the spoilers (including the nested ones) work now.


137ben wrote:
Joana wrote:

Whoa, you can nest spoilers now? Last time I tried, you couldn't put a spoiler inside a spoiler.

** spoiler omitted **[/spoiler]

The trick is that you can't give the inner spoiler a name. So, for a normal spoiler

** spoiler omitted **[/spoiler]

Huh. Maybe I've just always tried naming the inner spoiler.

Thanks for the inadvertent heads-up on the feature. :D


Resurrecting a dead thread, but what's the actual coding for nested spoilers? Because try as I might, I can't get the nesting to cooperate

Community & Digital Content Director

We do not currently support nested spoilers.


Ah, that would explain things. Why the change? Clearly they were a thing last year

Community & Digital Content Director

Ah, derp, I misspoke there. You can do it, but you cannot apply an inner label currently. Just use the [spoiler] tag as normal, and just remember to close it :)


Yeah, not sure where I'm going wrong but it's not working for me. Sans asterisks I'm typing [*spoiler="whatever I want to call it (should be able to be left blank)"] the first bit of info [*spoiler] the second bit of info [/spoiler][/spoiler]

Is that secretly not how nested spoilers are done?

Community & Digital Content Director

1 person marked this as a favorite.

The problem there is the "whatever you want to call it" bit. You'd format it as:

Spoiler Label:
Hey, I'm spoiler text!
Spoiler:
Hey, I'm even *more* spoiler text!

With asterisks in place to show how I typed that up:

[*spoiler=Spoiler Label]Hey, I'm spoiler text![*spoiler]Hey, I'm even *more* spoiler text![/spoiler][/spoiler]


Testing:
Did I do good?
Spoiler:
I did? I did!

Testing with not including a title in the "lead" spoiler:

Spoiler:
thing[spoiler]things
[/spoiler]
Thanks Chris :)
although leaving the title blank in the top spoiler seems to not format properly

Community / Forums / Paizo / Website Feedback / Un-openable spoiler boxes All Messageboards

Want to post a reply? Sign in.
Recent threads in Website Feedback