Bug in nested spoilers? Quotes issue
-
I’m using nested spoilers, and I think there is a bug in the code somewhere: when I insert the nested spoiler like this:
[su_spoiler title="Maintitle" style="default" anchor="#" class="m1"] [_su_spoiler title=Subtitle1 style=default anchor="#" class=s1] content [_/su_spoiler] [_su_spoiler title="Subtitle2" style="default" anchor="#" class="s2"] content [_/su_spoiler] [/su_spoiler]
The problem is with the second nested spoiler. Because of the quotes around title, style, anchor and class, the spoiler is not rendered properly. When I remove the quotes, it works well (like the first nested spoiler).
Is this a bug or intended (doesn’t seem logical to me)? I haven’t tested what happens if you leave out the quotes and the title contains spaces between words, but I assume that would cause a problem.I thought I’d report it. I love your plugin, it has become part of my standard plugin package for each WP site I create. Thank you!
- The topic ‘Bug in nested spoilers? Quotes issue’ is closed to new replies.