Compare commits

...
This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.

1 commit

Author SHA1 Message Date
Eugen Rochko 5c6e7310b1 Fix #1852 - Ensure feeds have valid <title> tags 2017-04-15 23:20:37 +02:00

View file

@ -39,7 +39,7 @@ class AtomSerializer
add_namespaces(feed)
append_element(feed, 'id', account_url(account, format: 'atom'))
append_element(feed, 'title', account.display_name)
append_element(feed, 'title', account.display_name.presence || account.username)
append_element(feed, 'subtitle', account.note)
append_element(feed, 'updated', account.updated_at.iso8601)
append_element(feed, 'logo', full_asset_url(account.avatar.url(:original)))