Suggestions

Accepted Spoilers are just a little broken with apostrophes

Submitted by Deadboy, , Thread ID: 73291

Thread Closed
04-02-2018, 04:39 AM
This post was last modified: 04-02-2018, 04:40 AM by Deadboy
#1
Apostrophes don't work. Throws a JS error in browser console Smile

Observe.

[spoiler=This spoiler works perfectly!]I'm going to put an actual spoiler for Assassin's creedin the other spoiler, because it doesn't work and you won't see it anyway.[/spoiler]

[spoiler=Click me! I don't because I have an apostrophe!]Desmond dies at the end of AC3.[/spoiler]

Edit: Forgot to mention that spoilers still have the data behind them, ie. visible when quoting.

RE: Spoilers are just a little broken with apostrophes

This post was last modified: 04-02-2018, 04:53 AM by Sins
#2
spoilers also dont work with align quotes from default mybb editor.

stuff SUPPOSED to be in the spoiler

Code:
[align=center][spoiler][/align]
[align=center]stuff SUPPOSED to be in the spoiler[/align]
[align=center][/spoiler][/align]
found this on a diff forum but it seems to work on any mybb site.

ez fix is ez with the current editor but ye
Need assistance on the forum? Can't bother a staff member? PM me! Smile
[Image: mQuOXn0OQpu-QDGIrHqM_A.png]

RE: Spoilers are just a little broken with apostrophes

#3
04-02-2018, 04:52 AM
Sins Wrote:
spoilers also dont work with align quotes from default mybb editor.

stuff SUPPOSED to be in the spoiler

Code:
[align=center][spoiler][/align]
[align=center]stuff SUPPOSED to be in the spoiler[/align]
[align=center][/spoiler][/align]
found this on a diff forum but it seems to work on any mybb site.

ez fix is ez with the current editor but ye

Most block tags don't work when you manually create tag soup as mybb's parser & renderer depends on the browser to fix most of the bad nesting to begin with... However the spoiler tag isn't default but is overly outdated and buggy but then again nested lists are even worse when it comes to tag souping but no one notices that till they use view-source instead of inspect element and actually tries to format the document or someone manages to end the postbit block which one can do quite ez ye.

Users browsing this thread: 2 Guest(s)