From 6a6f7223020fbb41dc7f4c7a1722dedfe93c0ec6 Mon Sep 17 00:00:00 2001 From: Leonardo Taccari Date: Sat, 1 Dec 2018 10:43:24 +0100 Subject: [PATCH] sfeed_opml_export: escape `&' --- sfeed_opml_export | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfeed_opml_export b/sfeed_opml_export index 72bda28..5d88165 100755 --- a/sfeed_opml_export +++ b/sfeed_opml_export @@ -24,8 +24,8 @@ loadconfig() { # escape(s) escape() { - printf '%s' "$1" | sed -e 's@"@\"@g' -e "s@'@\'@g"\ - -e 's@<@\<@g' -e 's@>@\>@g' + printf '%s' "$1" | sed -e 's@&@\&@g' -e 's@"@\"@g'\ + -e "s@'@\'@g" -e 's@<@\<@g' -e 's@>@\>@g' } # override feeds function to ouput opml XML. -- 2.19.2