projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Insert text representation of hashtags into object["hashtags"]
[akkoma]
/
lib
/
pleroma
/
web
/
templates
/
feed
/
feed
/
_activity.rss.eex
diff --git
a/lib/pleroma/web/templates/feed/feed/_activity.rss.eex
b/lib/pleroma/web/templates/feed/feed/_activity.rss.eex
index a304a16afecec2827062775909c9c97d17a4de6e..00872b4b76db926e224001c3829fcc4ac7835c73 100644
(file)
--- a/
lib/pleroma/web/templates/feed/feed/_activity.rss.eex
+++ b/
lib/pleroma/web/templates/feed/feed/_activity.rss.eex
@@
-12,7
+12,7
@@
<link rel="ostatus:conversation"><%= activity_context(@activity) %></link>
<%= if @data["summary"] do %>
<link rel="ostatus:conversation"><%= activity_context(@activity) %></link>
<%= if @data["summary"] do %>
- <description><%=
@data["summary"]
%></description>
+ <description><%=
escape(@data["summary"])
%></description>
<% end %>
<%= if @activity.local do %>
<% end %>
<%= if @activity.local do %>
@@
-21,8
+21,8
@@
<link><%= @data["external_url"] %></link>
<% end %>
<link><%= @data["external_url"] %></link>
<% end %>
- <%= for
tag <- @data["tag
"] || [] do %>
- <category term="<%= tag %>"></category>
+ <%= for
hashtag <- @data["hashtags
"] || [] do %>
+ <category term="<%=
hash
tag %>"></category>
<% end %>
<%= for attachment <- @data["attachment"] || [] do %>
<% end %>
<%= for attachment <- @data["attachment"] || [] do %>