mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:51:43 +08:00
BUGFIX: another broken rss page when it includes system user
This commit is contained in:
parent
03619917f0
commit
4803d387bc
|
@ -17,7 +17,7 @@
|
|||
<author><%= "#{site_email} (@#{topic.user.username}#{" #{topic.user.name}" if topic.user.name.present?})" -%></author>
|
||||
<category><%= topic.category.name %></category>
|
||||
<description><![CDATA[
|
||||
<p><%= t('author_wrote', author: link_to(topic.user.name, userpage_url(topic.user))).html_safe %></p>
|
||||
<p><%= t('author_wrote', author: link_to(topic.user.name, userpage_url(topic.user.username_lower))).html_safe %></p>
|
||||
<blockquote>
|
||||
<%= topic.posts.first.cooked.html_safe %>
|
||||
</blockquote>
|
||||
|
|
Loading…
Reference in New Issue
Block a user