discourse/plugins/discourse-narrative-bot
Kane York 8b24e0f0b7
FIX: Use <> link instead of code for discobot backup image link (#11063)
Due to the new enhanced copy-paste handling, the URL would be included in the user's reply as code, too!
By surrounding the link in angle brackets, we prevent the bot from accidentally including the link itself and spoiling the surprise.

I considered having the bot automatically edit the user's post to remove the backticks. I very quickly ran into a problem with spurious whitespace, and it would also look _super weird_ for the bot to edit your post when that's not what's being taught.
The seemingly bare link not automatically embedding is also weird, but slightly less so.

Fun fact: this doesn't work on localhost, because the onebox engine refuses to issue requests to localhost :)
2020-10-30 11:57:27 +11:00
..
assets/javascripts/initializers DEV: enforces eslint’s curly rule to the codebase (#10720) 2020-09-22 16:28:28 +02:00
autoload/jobs FIX: TL2 promotion message and advance training (#10679) 2020-09-22 10:17:52 +10:00
config FIX: Use <> link instead of code for discobot backup image link (#11063) 2020-10-30 11:57:27 +11:00
db DEV: ensure discobot has a user_option & user_profile 2020-07-07 18:24:31 +02:00
lib/discourse_narrative_bot FIX: Capybara diet upgrade, can eat real 🌿 now (#11040) 2020-10-27 07:49:22 -07:00
public/images remove unnecessary symlink 2019-11-29 22:23:43 +01:00
spec FIX: Capybara diet upgrade, can eat real 🌿 now (#11040) 2020-10-27 07:49:22 -07:00
plugin.rb Replace base_uri with base_path (#10879) 2020-10-09 12:51:24 +01:00