Remove Expression#safe_parse

This commit is contained in:
Charles-P. Clermont
2026-01-26 16:52:17 -05:00
parent c9ae128354
commit 85d73e462d
2 changed files with 6 additions and 10 deletions
-4
View File
@@ -25,10 +25,6 @@ module Liquid
FLOAT_REGEX = /\A(-?\d+)\.\d+\z/
class << self
def safe_parse(parser, ss = StringScanner.new(""), cache = nil)
parse(parser.expression_string, ss, cache)
end
def parse(markup, ss = StringScanner.new(""), cache = nil)
return unless markup