mastodon/app/helpers
Neil Matatall 1f5740e65c
Use Rails tag API to build RSS feed for spoilers and polls (#20163)
* Use Rails tag API to build RSS feed for spoilers and polls

While the previous method did not contain a bug or a potential issue,
the tag API can be very resilient against future problems and reduces the
amount of manual management of the escape status of the content.

I've added tests to ensure that the formatting is broken and still
escapes control characters correctly.

* this seems cleaner and passes

* Incorporate feedback by moving the br to its own line and using the tag helper over the string constant for the br tag itself

* whoops, tag helper doesn't use a self-closing tag
2022-12-15 16:39:41 +01:00
..
admin Fix admin action logs page (#19649) 2022-11-03 16:06:42 +01:00
accounts_helper.rb Change public accounts pages to mount the web UI (#19319) 2022-10-20 14:35:29 +02:00
application_helper.rb Change sign-in banner to reflect disabled or moved account status (#19773) 2022-11-05 18:28:13 +01:00
branding_helper.rb Fix wrong aspect ratio of logo in icons (#18639) 2022-06-11 20:32:02 +02:00
context_helper.rb Compact JSON-LD signed incoming activities (#17426) 2022-02-03 14:07:29 +01:00
domain_control_helper.rb
email_helper.rb Add canonical e-mail blocks for suspended accounts (#16049) 2021-04-17 03:14:25 +02:00
flashes_helper.rb
formatting_helper.rb Use Rails tag API to build RSS feed for spoilers and polls (#20163) 2022-12-15 16:39:41 +01:00
home_helper.rb Fix wrong size of avatars in admin UI (#19457) 2022-10-25 21:43:33 +02:00
instance_helper.rb
jsonld_helper.rb Fix not updating a status when newer version is fetched manually (#17745) 2022-03-12 09:11:36 +01:00
languages_helper.rb Add Scots to the supported locales (#20283) 2022-11-10 21:11:38 +01:00
mascot_helper.rb Use custom mascot on static share page (#15687) 2021-02-11 02:18:56 +01:00
routing_helper.rb Fix CDN_HOST not affected on full_asset_url (#18662) 2022-06-23 23:09:32 +02:00
settings_helper.rb Remove language detection through cld3 (#17478) 2022-02-08 02:41:17 +01:00
statuses_helper.rb Replace leftover envelope icons with at icons (#18305) 2022-05-06 00:41:56 +02:00
webfinger_helper.rb Remove dependency on goldfinger gem (#14919) 2020-10-08 00:34:57 +02:00