discourse/plugins
Martin Brennan 54a518b21d
FIX: Quoting local dates bbcode regeneration (#17141)
This commit allows quoting of discourse-local-date elements
and converts the quoted tags back into bbcode so that the
rendered quote will also render the discourse-local-date HTML.
This works on single dates as well as date ranges, and supports
all of the options used by discourse-local-date.

This also necessitated adding addTextDecorateCallback to the
to-markdown core lib (similar to addBlockDecorateCallback and
addTagDecorateCallback) to transform the text nodes between
date ranges to remove the -> in the final quote.

c.f. https://meta.discourse.org/t/quotes-that-contain-date-time/101999
2022-06-21 10:07:21 +10:00
..
discourse-details DEV: Use the block form of `module()` (#17151) 2022-06-20 15:42:10 +02:00
discourse-local-dates FIX: Quoting local dates bbcode regeneration (#17141) 2022-06-21 10:07:21 +10:00
discourse-narrative-bot FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00
discourse-presence FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00
lazy-yt DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
poll FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00
styleguide FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00