summaryrefslogtreecommitdiff
path: root/sfeed_opml_export
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_opml_export')
-rwxr-xr-xsfeed_opml_export3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfeed_opml_export b/sfeed_opml_export
index 212b3c6..72bda28 100755
--- a/sfeed_opml_export
+++ b/sfeed_opml_export
@@ -24,7 +24,8 @@ loadconfig() {
# escape(s)
escape() {
- printf '%s' "$1" | sed 's@"@\"@g'
+ printf '%s' "$1" | sed -e 's@"@\"@g' -e "s@'@\'@g"\
+ -e 's@<@\&lt;@g' -e 's@>@\&gt;@g'
}
# override feeds function to ouput opml XML.