mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
54a518b21d
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 |
||
---|---|---|
.. | ||
assets | ||
config | ||
lib/discourse_local_dates | ||
spec | ||
test/javascripts | ||
plugin.rb |