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,
This commit is contained in:
Tom 2022-10-29 11:56:16 +02:00 committed by GitHub
parent 073306ab70
commit bf2abfe37c
1 changed files with 2 additions and 2 deletions

View File

@ -625,7 +625,7 @@
"length"
],
"numArgs": 2,
"example": "{{ellipsis 'foo bar baz', 7}} -> foo bar…",
"example": "{{ellipsis 'foo bar baz' 7}} -> foo bar…",
"description": "<p>Truncates a string to the specified <code>length</code>, and appends it with an elipsis, <code>…</code>.</p>\n"
},
"hyphenate": {
@ -1219,4 +1219,4 @@
"description": "<p>Produce a humanized duration left/until given an amount of time and the type of time measurement.</p>\n"
}
}
}
}