From 4490e4b7898538f1eae7cf9a74849418de0fde5a Mon Sep 17 00:00:00 2001 From: Matthieu Bacconnier Date: Fri, 27 Sep 2024 18:49:37 +0200 Subject: [PATCH] Replace trimValue with trimOutput (#757) 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].