sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit c2aac8dcaf1cbf8052ce8f3c61d5b7211030a403
parent 3b7c8de5c73e03add5c58dfbe8cbb150b1dbe795
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  7 Apr 2018 13:47:51 +0200

sfeed_opml_export: encode more entities for attribute values

Found by testing newsboat and compatibility with other clients.

Diffstat:
Msfeed_opml_export | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sfeed_opml_export b/sfeed_opml_export @@ -24,7 +24,8 @@ loadconfig() { # escape(s) escape() { - printf '%s' "$1" | sed 's@"@\&quot;@g' + printf '%s' "$1" | sed -e 's@"@\&quot;@g' -e "s@'@\&#39;@g"\ + -e 's@<@\&lt;@g' -e 's@>@\&gt;@g' } # override feeds function to ouput opml XML.