fix(feed): correct Atom entry links
This commit is contained in:
parent
d1a7e915ce
commit
ecd8a14435
4 changed files with 8 additions and 8 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue