From: Christian Heller Date: Wed, 18 Jan 2017 22:49:15 +0000 (+0100) Subject: Remove illegal URL character and fix replies link in feed. X-Git-Url: https://plomlompom.com/repos/bar%20baz.html?a=commitdiff_plain;h=576cff5e1afc893dbc4004a958b66b326b847693;p=redo-blog Remove illegal URL character and fix replies link in feed. --- diff --git a/processor/metadata/default.feed_snippet.do b/processor/metadata/default.feed_snippet.do index 73a2d56..7ff8d43 100644 --- a/processor/metadata/default.feed_snippet.do +++ b/processor/metadata/default.feed_snippet.do @@ -3,7 +3,7 @@ # Handle URL from .links file. prep_url() { url=$(escape_html "$1") - printf "\n%s" "$url" "$url" + printf "\n" "$url" } # Pull in dependencies. diff --git a/test/test_files/foo.links b/test/test_files/foo.links index f6d6e4d..559be67 100644 --- a/test/test_files/foo.links +++ b/test/test_files/foo.links @@ -1,2 +1,2 @@ http://example.org/ -http://example.com/some"what'danger<>us%URL +http://example.com/some$what'danger<>us%URL