summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsfeed_opml_export4
1 files 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@<@\&lt;@g' -e 's@>@\&gt;@g'
+ printf '%s' "$1" | sed -e 's@&@\&amp;@g' -e 's@"@\&quot;@g'\
+ -e "s@'@\&#39;@g" -e 's@<@\&lt;@g' -e 's@>@\&gt;@g'
}
# override feeds function to ouput opml XML.