discourse/plugins/spoiler-alert/assets
Régis Hanol 94cf1c4786 FIX: quoting a spoiler
Was "removing" (rather not re-applying) the `[spoiler]` BBCode because we were testing the **whole** class of the `span`/`div` was `spoiled` but we added another class and thus broke this functionnality.

In order to fix this issue, the test to determine whether a `span`/`div` is a spoiler, now uses a regular expression to check whether the `class` **contains** the word `spoiled`.

Reference - https://meta.discourse.org/t/quoting-spoiler-text-doesnt-include-spoiler-tags-in-the-quote/170145
2024-05-28 19:24:52 +02:00
..
javascripts FIX: quoting a spoiler 2024-05-28 19:24:52 +02:00
stylesheets FEATURE: Bundle discourse-spoiler-alert plugin into core (#24030) 2023-10-23 13:50:43 -06:00