mastodon/app
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
..
chewy Change algorithm of tootctl search deploy to improve performance (#18463) 2022-05-22 22:16:43 +02:00
controllers Fix N+1 queries from in NotificationsController (#21202) 2022-12-15 16:18:20 +01:00
helpers Use Rails tag API to build RSS feed for spoilers and polls (#20163) 2022-12-15 16:39:41 +01:00
javascript Fix typo in handler function call name (#21829) 2022-12-15 16:37:17 +01:00
lib Fix crash in elasticsearch_check.rb (#21006) 2022-12-15 15:56:48 +01:00
mailers Add single splat to callback method definitions to avoid ArgumentError (#22246) 2022-12-13 20:03:16 +01:00
models Revoke all authorized applications on password reset (#21325) 2022-12-15 15:47:06 +01:00
policies Fix getting a single EmailDomainBlock (#20846) 2022-11-17 10:55:50 +01:00
presenters Change sign-in banner to reflect disabled or moved account status (#19773) 2022-11-05 18:28:13 +01:00
serializers Add maskable icon support for Android (#20904) 2022-11-17 10:52:30 +01:00
services Fix unbounded recursion in account discovery (#22025) 2022-12-07 00:15:24 +01:00
validators Fix error when uploading malformed CSV import (#19509) 2022-10-28 23:30:44 +02:00
views Render current day formats in the client timezone (#21878) 2022-12-15 16:35:25 +01:00
workers Fix typos in source documentation (#21046) 2022-12-15 15:57:26 +01:00