From bf2abfe37c6928c97a70c9ebf0eae42cdce5af13 Mon Sep 17 00:00:00 2001 From: Tom <19203795+that-one-tom@users.noreply.github.com> Date: Sat, 29 Oct 2022 11:56:16 +0200 Subject: [PATCH] Fix syntax for ellipsis helper Problem: The suggested ellipsis syntax breaks the handlebars expression due to an additional comma. Solution: Removed the comma from the help text, --- packages/string-templates/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/string-templates/manifest.json b/packages/string-templates/manifest.json index f8600121f1..f837f3aa75 100644 --- a/packages/string-templates/manifest.json +++ b/packages/string-templates/manifest.json @@ -625,7 +625,7 @@ "length" ], "numArgs": 2, - "example": "{{ellipsis 'foo bar baz', 7}} -> foo bar…", + "example": "{{ellipsis 'foo bar baz' 7}} -> foo bar…", "description": "
Truncates a string to the specified length
, and appends it with an elipsis, …
.
Produce a humanized duration left/until given an amount of time and the type of time measurement.
\n" } } -} \ No newline at end of file +}