discourse/plugins/discourse-details
Régis Hanol 3927b27f34 FIX: allow quote-less details BBCode
In 53b3d2f0dc we introduced a stricter BBCode Tag parser. It prevents having "values" with spaces when they're not surrounded by a valid pair of quotes.

The `[details=` BBCode Tag is popular enough that it's worth adding a special case for it (especially since it doesn't support other parameters).

This also adds the Finnish pair of quotes.

Context - https://meta.discourse.org/t/details-accepts-only-one-word-as-summary/313019
2024-06-24 14:16:36 +02:00
..
assets DEV: Single admin plugin page for consistent admin plugin UX (#26024) 2024-03-13 13:15:12 +10:00
config FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
spec FIX: elided content in email should always have an href 2024-05-22 15:38:18 +02:00
test/javascripts FIX: allow quote-less details BBCode 2024-06-24 14:16:36 +02:00
LICENSE
README.md for docs, normalize on space after code fence when specifying lang 2019-01-21 01:19:28 -08:00
plugin.rb FIX: elided content in email should always have an href 2024-05-22 15:38:18 +02:00

README.md

discourse-details

HTML 5.1 <details> polyfill for Discourse.

NOTE: Does not work on IE9, but we don't support IE9 as of Jan 1 2016.

Usage

In your posts, surround text with [details=your summary] ... [/details]. For example:

   I watched the murder mystery on TV last night. [details=Who did it?]The butler did it[/details].

Installation

Follow our Install a Plugin howto, using git clone https://github.com/discourse/discourse-details.git as the plugin command.

Issues

If you have issues or suggestions for the plugin, please bring them up on Discourse Meta.

License

MIT