diff --git a/manifest.xml b/manifest.xml
index 5b952395af..0db9a40b09 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -7,7 +7,7 @@
-
+
diff --git a/src/UpdateCheck.lua b/src/UpdateCheck.lua
index 7f8008fd88..65b741348e 100644
--- a/src/UpdateCheck.lua
+++ b/src/UpdateCheck.lua
@@ -161,8 +161,8 @@ end
local deleteFiles = { }
for name, data in pairs(localFiles) do
data.name = name
- local sanitizedName = name:gsub("{space}", " ")
- if not remoteFiles[name] and not remoteFiles[sanitizedName] then
+ local unSanitizedName = name:gsub(" ", "{space}")
+ if not remoteFiles[name] and not remoteFiles[unSanitizedName] then
table.insert(deleteFiles, data)
end
end