From db106ae058d94a45d9e6d9b7ed84c6b00f2cb36b Mon Sep 17 00:00:00 2001 From: Dylan Thacker-Smith Date: Thu, 16 Sep 2021 10:13:57 -0400 Subject: [PATCH] Clarify that the error_mode: :warn parse option is only for strict errors --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6802a717..fb876290 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ when templates are invalid. You can enable this new parser like this: ```ruby Liquid::Template.error_mode = :strict # Raises a SyntaxError when invalid syntax is used -Liquid::Template.error_mode = :warn # Adds errors to template.errors but continues as normal +Liquid::Template.error_mode = :warn # Adds strict errors to template.errors but continues as normal Liquid::Template.error_mode = :lax # The default mode, accepts almost anything. ```