1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 08:44:02 +00:00

Merge pull request #347 from lamby/dont-double-escape-caption-in-atom-feed

Don't double-escape caption in Atom feed.
This commit is contained in:
daniel 2018-08-09 15:30:36 -06:00 committed by GitHub
commit f46b23aa94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>