Skip to content

Commit

Permalink
Replace trimValue with trimOutput (#757)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Neamar authored Sep 27, 2024
1 parent 8392203 commit 4490e4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/tutorials/whitespace-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].

Expand Down

0 comments on commit 4490e4b

Please sign in to comment.