Skip to content

Commit

Permalink
docs: update docs for ownPropertyOnly, #588
Browse files Browse the repository at this point in the history
  • Loading branch information
harttle committed Mar 3, 2023
1 parent 14e059c commit 2def145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/tutorials/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2def145

Please sign in to comment.