(2014-09-13, 09:16 AM)ThePanda Wrote: Great, thank you very much for this plugin.
It works fine in Firefox but the +/- effect is not appearing in chrome. Possible bug? Please check attachment for screenshot.
It works fine for me in Chrome; check your image path settings. Due to the way this plugin is coded with the javascripts, I believe it only pulls the min/max images from the images/ directory; if your theme uses a custom directory, simply drop collapse.png and collapse_collapsed.png into /images and you'll be fine.
(2014-09-15, 12:26 AM)oji Wrote: Thank you, but it's better to use another regexp to support not only the English languge in descriptions. Something like this:
$pattern = array("#\[spoiler=(?:"|\"|')?(.*?)[\"']?(?:"|\"|')?\](.*?)\[\/spoiler\](\r\n?|\n?)#si", "#\[spoiler\](.*?)\[\/spoiler\](\r\n?|\n?)#si");
I will consider this for a future update, but seeing as I've only dealt with the English Language, I cannot guarantee proper support for non-english languages. If that regexp will work, I can include it in the next update. I'll likely see about custom theme support for this plugin, since I only run a single theme on my board.