From 2def145cf6bb19816df266772f3c0773653f92e7 Mon Sep 17 00:00:00 2001 From: Jun Yang Date: Sat, 4 Mar 2023 00:21:41 +0800 Subject: [PATCH] docs: update docs for ownPropertyOnly, #588 --- docs/source/tutorials/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorials/options.md b/docs/source/tutorials/options.md index 6ccc4caa8..06cee9e7e 100644 --- a/docs/source/tutorials/options.md +++ b/docs/source/tutorials/options.md @@ -130,7 +130,7 @@ it defaults to false. For example, when set to true, a blank string would evalu **lenientIf** modifies the behavior of `strictVariables` to allow handling optional variables. If set to `true`, an undefined variable will *not* cause an exception in the following two situations: a) it is the condition to an `if`, `elsif`, or `unless` tag; b) it occurs right before a `default` filter. Irrelevant if `strictVariables` is not set. Defaults to `false`. -**ownPropertyOnly** hides scope variables from prototypes, useful when you're passing a not sanitized object into LiquidJS or need to hide prototypes from templates. Defaults to `false`. +**ownPropertyOnly** hides scope variables from prototypes, useful when you're passing a not sanitized object into LiquidJS or need to hide prototypes from templates. Defaults to `true`. {% note info Non-existent Tags %} Non-existent tags always throw errors during parsing and this behavior can not be customized.