Remove rescue in unescape filter

This commit is contained in:
Justin Li
2015-10-21 02:01:21 -04:00
parent e6392d1cc1
commit 8612716129
+1 -1
View File
@@ -46,7 +46,7 @@ module Liquid
end end
def url_decode(input) def url_decode(input)
CGI.unescape(input) rescue input CGI.unescape(input) unless input.nil?
end end
def slice(input, offset, length = nil) def slice(input, offset, length = nil)