diff --git a/lib/liquid/parser_switching.rb b/lib/liquid/parser_switching.rb index 78afd58a..e9126580 100644 --- a/lib/liquid/parser_switching.rb +++ b/lib/liquid/parser_switching.rb @@ -17,7 +17,7 @@ module Liquid def parse_with_selected_parser(markup) case parse_context.error_mode when :strict then strict_parse_with_error_context(markup) - when :lax then lax_parse(markup) + when :lax then strict_parse_with_error_context(markup) when :warn begin strict_parse_with_error_context(markup)