fix(feed): correct Atom entry links

This commit is contained in:
Lain Soykaf 2026-07-24 20:38:25 +04:00
commit ecd8a14435
No known key found for this signature in database
4 changed files with 8 additions and 8 deletions

View file

@ -15,8 +15,7 @@
<summary><%= escape(@data["summary"]) %></summary>
<% end %>
<link type="application/atom+xml" href='<%= activity_link(@activity, @data) %>' rel="self"/>
<link type="text/html" href='<%= activity_link(@activity, @data) %>' rel="alternate"/>
<link type="text/html" href='<%= escape(activity_link(@activity, @data) || "") %>' rel="alternate"/>
<%= for tag <- Pleroma.Object.hashtags(@object) do %>
<category term="<%= tag %>"></category>

View file

@ -18,8 +18,7 @@
<summary><%= escape(@data["summary"]) %></summary>
<% end %>
<link type="application/atom+xml" href='<%= activity_link(@activity, @data) %>' rel="self"/>
<link type="text/html" href='<%= activity_link(@activity, @data) %>' rel="alternate"/>
<link type="text/html" href='<%= escape(activity_link(@activity, @data) || "") %>' rel="alternate"/>
<%= for tag <- Pleroma.Object.hashtags(@object) do %>
<category term="<%= tag %>"></category>