about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ennum.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/ennum.el b/ennum.el
index c2c1054..f6d19d4 100644
--- a/ennum.el
+++ b/ennum.el
@@ -669,8 +669,9 @@ result as a string."
                             posts interned-post-files))))))))
 
 (defun ennum--feed-entry (post interned-post-file)
-  (let ((link (ennum--absolute-uri (ennum--org-output-filename
-                                    (ennum-post-filename post)))))
+  (let ((link (url-encode-url
+               (ennum--absolute-uri (ennum--org-output-filename
+                                     (ennum-post-filename post))))))
     `(entry (id ,link)
             (title :xml:lang ,(ennum-post-language post) ,(ennum-post-title post))
             (updated ,(ennum--atom-date (ennum-post-date post)))