diff --git a/app/views/list/list.rss.erb b/app/views/list/list.rss.erb index 7cc954ec2a0..78193a8f0d7 100644 --- a/app/views/list/list.rss.erb +++ b/app/views/list/list.rss.erb @@ -12,12 +12,16 @@ <% @topic_list.topics.each do |topic| %> <% topic_url = topic.url -%> + <% username = topic.user ? topic.user.username : "" %> + <% name = topic.user ? topic.user.name : "" %> <%= topic.title %> - ]]> + ]]> <%= topic.category.name %> <%= t('author_wrote', author: link_to("@#{topic.user.username}", "#{Discourse.base_url}/users/#{topic.user.username_lower}")).html_safe %>

+ <% if username.present? %> +

<%= t('author_wrote', author: link_to("@#{username}", "#{Discourse.base_url}/users/#{topic.user.username_lower}")).html_safe %>

+ <% end %>
<%= topic.posts.first.cooked.html_safe %>