mastodon/spec/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 Add audit log entries for user roles (#19040) 2022-08-25 20:39:40 +02:00
accounts_helper_spec.rb Split AccountsHelper from StatusesHelper (#12078) 2019-10-24 22:50:09 +02:00
application_helper_spec.rb Fix typo in application_helper_spec.rb (#20981) 2022-12-15 16:20:55 +01:00
flashes_helper_spec.rb Spec FlashesHelper (#3414) 2017-05-29 18:03:02 +02:00
formatting_helper_spec.rb Use Rails tag API to build RSS feed for spoilers and polls (#20163) 2022-12-15 16:39:41 +01:00
home_helper_spec.rb Fix locale related specs (#3707) 2017-06-12 10:58:03 +02:00
instance_helper_spec.rb Do not default site_title with site_hostname in InstanceHelper (#6624) 2018-03-04 20:29:49 +01:00
jsonld_helper_spec.rb Fix compacted JSON-LD possibly causing compatibility issues on forwarding 2022-02-02 19:55:57 +01:00
languages_helper_spec.rb
routing_helper_spec.rb Use URI.join even when S3 enabled (#4652) 2017-08-21 12:42:16 +02:00
statuses_helper_spec.rb Change RTL detection to rely on unicode-bidi paragraph by paragraph (#14573) 2020-12-15 12:56:43 +01:00