Skip to content

Commit

Permalink
remove xml_encode for links
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Dec 20, 2024
1 parent 8b1583a commit f305f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/usr/share/planefence/planefence-rss.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ generate_rss() {
${SITE_IMAGE:+<image>
<url>$(xml_encode "$SITE_IMAGE")</url>
<title>$(xml_encode "$SITE_TITLE")</title>
<link>$(xml_encode "$SITE_LINK")</link>
<link>$SITE_LINK</link>
</image>}
<atom:link href="$(xml_encode "${SITE_LINK}${rss_file##*/}")" rel="self" type="application/rss+xml" />
EOF
Expand Down Expand Up @@ -102,7 +102,7 @@ EOF
<item>
<title>$(xml_encode "$TITLE")</title>
<description>$(xml_encode "$DESC")</description>
<link>$(xml_encode "$ITEM_LINK")</link>
<link>$ITEM_LINK</link>
<guid isPermaLink="false">$HEXCODE-$FIRSTSEEN</guid>
<pubDate>$PUBDATE</pubDate>
</item>
Expand Down

0 comments on commit f305f59

Please sign in to comment.