X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Ftemplates%2Ffeed%2Ffeed%2F_activity.rss.eex;h=279f2171d811a491ed133edd9713c9df5bda54ed;hb=708210b9940aa7f5a16591026f861471f4844a98;hp=a304a16afecec2827062775909c9c97d17a4de6e;hpb=44fbd09709b43a7eedff60365c3ff487dbd7a5c9;p=akkoma
diff --git a/lib/pleroma/web/templates/feed/feed/_activity.rss.eex b/lib/pleroma/web/templates/feed/feed/_activity.rss.eex
index a304a16af..279f2171d 100644
--- a/lib/pleroma/web/templates/feed/feed/_activity.rss.eex
+++ b/lib/pleroma/web/templates/feed/feed/_activity.rss.eex
@@ -9,10 +9,9 @@
<%= activity_context(@activity) %>
- <%= activity_context(@activity) %>
<%= if @data["summary"] do %>
- <%= @data["summary"] %>
+ <%= escape(@data["summary"]) %>
<% end %>
<%= if @activity.local do %>
@@ -21,7 +20,9 @@
<%= @data["external_url"] %>
<% end %>
- <%= for tag <- @data["tag"] || [] do %>
+ <%= activity_context(@activity) %>
+
+ <%= for tag <- Pleroma.Object.hashtags(@object) do %>
<% end %>
@@ -37,7 +38,7 @@
<%= if id == Pleroma.Constants.as_public() do %>
http://activityschema.org/collection/public
<% else %>
- <%= unless Regex.match?(~r/^#{Pleroma.Web.base_url()}.+followers$/, id) do %>
+ <%= unless Regex.match?(~r/^#{Pleroma.Web.Endpoint.url()}.+followers$/, id) do %>
<%= id %>
<% end %>
<% end %>