Skip to content
Snippets Groups Projects
Commit 95bcbaa4 authored by Eugen's avatar Eugen Committed by GitHub
Browse files

Fix #1852 - Ensure feeds have valid <title> tags (#1875)

parent 911338bd
No related branches found
No related tags found
No related merge requests found
......@@ -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)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment