hometown/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
application_helper_spec.rb Fix typo in application_helper_spec.rb (#20981) 2022-12-15 16:20:55 +01:00
flashes_helper_spec.rb
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
instance_helper_spec.rb
jsonld_helper_spec.rb Fix compacted JSON-LD possibly causing compatibility issues on forwarding (#17428) 2022-02-03 14:09:04 +01:00
languages_helper_spec.rb Test the native_locale_name of a non-standard locale (#20284) 2022-11-11 00:06:18 +01:00
routing_helper_spec.rb
statuses_helper_spec.rb