You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
2 years ago
..
admin Add audit log entries for user roles (#19040) 2 years ago
accounts_helper_spec.rb
application_helper_spec.rb Fix typo in application_helper_spec.rb (#20981) 2 years ago
flashes_helper_spec.rb
formatting_helper_spec.rb Use Rails tag API to build RSS feed for spoilers and polls (#20163) 2 years ago
home_helper_spec.rb
instance_helper_spec.rb
jsonld_helper_spec.rb Fix compacted JSON-LD possibly causing compatibility issues on forwarding (#17428) 3 years ago
languages_helper_spec.rb Test the native_locale_name of a non-standard locale (#20284) 2 years ago
routing_helper_spec.rb
statuses_helper_spec.rb