mirror of
https://github.com/kemko/liquid.git
synced 2026-01-06 02:05:41 +03:00
Remove standard exception rescue in escape filter.
This commit is contained in:
@@ -33,7 +33,7 @@ module Liquid
|
||||
end
|
||||
|
||||
def escape(input)
|
||||
CGI.escapeHTML(input).untaint rescue input
|
||||
CGI.escapeHTML(input).untaint
|
||||
end
|
||||
alias_method :h, :escape
|
||||
|
||||
|
||||
Reference in New Issue
Block a user