From 8014368a779f9e8a080290d8d7b030bcf25a4fc4 Mon Sep 17 00:00:00 2001 From: Matthieu Bacconnier Date: Fri, 27 Sep 2024 11:15:48 +0200 Subject: [PATCH] Replace trimValue with trimOutput I believe this is a type, as the config has been called trimOutputLeft/Right for 5 years: https://github.com/harttle/liquidjs/blame/83922032b79fd678237de8786f0d75fb33e6312f/src/liquid-options.ts#L54 I'm new to this library, so I could also be missing out on something, in which case feel free to close, but the trimValue options do not exist on Config. --- docs/source/tutorials/whitespace-control.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/tutorials/whitespace-control.md b/docs/source/tutorials/whitespace-control.md index 857b754461..71dc2e606c 100644 --- a/docs/source/tutorials/whitespace-control.md +++ b/docs/source/tutorials/whitespace-control.md @@ -41,8 +41,8 @@ Alternatively, LiquidJS provides these per engine options to enable whitespace c * `trimTagLeft` * `trimTagRight` -* `trimValueLeft` -* `trimValueRight` +* `trimOutputLeft` +* `trimOutputRight` [LiquidJS][liquidjs] will **NOT** trim any whitespace by default, aka. above options all default to `false`. For details of these options, see the [options][options].