mirror of
https://github.com/kemko/liquid.git
synced 2026-01-06 10:15:40 +03:00
Fixed issue where "nil" value for "escape" filter breaks rendering
Closes #664
This commit is contained in:
@@ -118,6 +118,7 @@ class StandardFiltersTest < Minitest::Test
|
||||
|
||||
def test_escape
|
||||
assert_equal '<strong>', @filters.escape('<strong>')
|
||||
assert_equal nil, @filters.escape(nil)
|
||||
assert_equal '<strong>', @filters.h('<strong>')
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user