summaryrefslogtreecommitdiff
path: root/Command/ImportFeed.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/ImportFeed.hs')
-rw-r--r--Command/ImportFeed.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Command/ImportFeed.hs b/Command/ImportFeed.hs
index 9d81c5a60..5ad568647 100644
--- a/Command/ImportFeed.hs
+++ b/Command/ImportFeed.hs
@@ -182,6 +182,7 @@ feedFile tmpl i = Utility.Format.format tmpl $ M.fromList
fieldMaybe k (Just v) = field k v
sanitize c
+ | c == '.' = c
| isSpace c || isPunctuation c || c == '/' = '_'
| otherwise = c