1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +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:
Chris Lamb 2018-08-08 22:36:45 +02:00
parent 818fd76550
commit e527e888b5

View file

@ -26,16 +26,16 @@
<link rel="self" type="application/atom+xml" href="{{$profile->permalink('.atom')}}"/>
@foreach($items as $item)
<entry>
<title><![CDATA[{{ $item->caption }}]]></title>
<title>{{ $item->caption }}</title>
<link rel="alternate" href="{{ $item->url() }}" />
<id>{{ url($item->id) }}</id>
<author>
<name> <![CDATA[{{ $item->profile->username }}]]></name>
</author>
<summary type="html">
<![CDATA[{!! $item->caption !!}]]>
{{ $item->caption }}
</summary>
<updated>{{ $item->updated_at->toAtomString() }}</updated>
</entry>
@endforeach
</feed>
</feed>