Skip to content

Commit b6b3480

Browse files
committed
HTML entities in guid
1 parent 7292214 commit b6b3480

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-feedmaker` will be documented in this file.
44

5+
## 1.0.5 - 2021-10-06
6+
7+
- fix: encode HTML entities in RSS item guid field
8+
59
## 1.0.4 - 2021-10-05
610

711
- fix: encode HTML entities in RSS item links

resources/views/feedrss.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<link>{{ $item['url'] }}</link>
1616
<description><![CDATA[{!! $item['description'] !!}]]></description>
1717
@if(! empty($item['guid']))
18-
<guid>{!! $item['guid'] !!}</guid>
18+
<guid>{{ $item['guid'] }}</guid>
1919
@else
20-
<guid>{!! $item['url'] !!}</guid>
20+
<guid>{{ $item['url'] }}</guid>
2121
@endif
2222
<pubDate>{{ $item['pubDate']->format('Y-m-d H:i:s O') }}</pubDate>
2323
</item>

0 commit comments

Comments
 (0)