Skip to content

Commit

Permalink
Strip tags from rSS feed
Browse files Browse the repository at this point in the history
  • Loading branch information
leftouterjoins committed Nov 13, 2023
1 parent 8cd0988 commit 50dc98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/rss.xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<? foreach($items as $item): ?>
<item>
<title><?= $item['name'] ?></title>
<description><?= htmlentities($item['description']) ?></description>
<description><?= strip_tags($item['description']) ?></description>
<pubDate><?= $item['published'] ?></pubDate>
<enclosure url="<?= $host ?>/media?item_id=<?= $item['id'] ?>" type="audio/mp3" length="<?= $item['size'] ?>"/>
<link><?= $host ?>/item?item_id=<?= $item['id'] ?></link>
Expand Down

0 comments on commit 50dc98f

Please sign in to comment.