From f21d1c5d9d550b765a449c85c0e162673ce3543c Mon Sep 17 00:00:00 2001 From: liamgriffin Date: Wed, 28 Sep 2022 12:24:46 +0100 Subject: [PATCH] Update escape filter reference summary Added more context/ explanation for escape filter Fixes issue in dev docs https://github.com/Shopify/shopify-dev/pull/26494 --- lib/liquid/standardfilters.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/liquid/standardfilters.rb b/lib/liquid/standardfilters.rb index ed7136abf..1470243cf 100644 --- a/lib/liquid/standardfilters.rb +++ b/lib/liquid/standardfilters.rb @@ -73,7 +73,7 @@ def capitalize(input) # @liquid_type filter # @liquid_category string # @liquid_summary - # Escapes a string. + # Escapes special characters in HTML, such as `<>`, `'`, and `&`, and converts characters into escape sequences. The filter doesn't effect characters within the string that don’t have a corresponding escape sequence.". # @liquid_syntax string | escape # @liquid_return [string] def escape(input)