mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Don't double-escape caption in Atom feed.
This avoids ugly literal "I don't know" in feed readers, etc.
This commit is contained in:
parent
818fd76550
commit
e527e888b5
1 changed files with 3 additions and 3 deletions
|
@ -26,14 +26,14 @@
|
||||||
<link rel="self" type="application/atom+xml" href="{{$profile->permalink('.atom')}}"/>
|
<link rel="self" type="application/atom+xml" href="{{$profile->permalink('.atom')}}"/>
|
||||||
@foreach($items as $item)
|
@foreach($items as $item)
|
||||||
<entry>
|
<entry>
|
||||||
<title><![CDATA[{{ $item->caption }}]]></title>
|
<title>{{ $item->caption }}</title>
|
||||||
<link rel="alternate" href="{{ $item->url() }}" />
|
<link rel="alternate" href="{{ $item->url() }}" />
|
||||||
<id>{{ url($item->id) }}</id>
|
<id>{{ url($item->id) }}</id>
|
||||||
<author>
|
<author>
|
||||||
<name> <![CDATA[{{ $item->profile->username }}]]></name>
|
<name> <![CDATA[{{ $item->profile->username }}]]></name>
|
||||||
</author>
|
</author>
|
||||||
<summary type="html">
|
<summary type="html">
|
||||||
<![CDATA[{!! $item->caption !!}]]>
|
{{ $item->caption }}
|
||||||
</summary>
|
</summary>
|
||||||
<updated>{{ $item->updated_at->toAtomString() }}</updated>
|
<updated>{{ $item->updated_at->toAtomString() }}</updated>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
Loading…
Reference in a new issue