discourse/plugins/discourse-local-dates/test/javascripts/acceptance
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
..
download-calendar-test.js DEV: Use cloneJSON instead of spread operator (#16615) 2022-05-04 14:11:45 +08:00
local-dates-composer-test.js DEV: Include helper in core for applyLocalDates (#16325) 2022-03-30 20:58:38 -04:00
local-dates-quoting-test.js FIX: Quoting local dates bbcode regeneration (#17141) 2022-06-21 10:07:21 +10:00