Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 13a09fe

Browse files
authored
doc: truncate typo
1 parent 96f0b8f commit 13a09fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/string.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,9 @@ import { TruncatePipe } from 'angular-pipes';
302302

303303
```html
304304
{{ 'Hello World' | truncate: 4 }} <!-- 'Hell' -->
305-
{{ 'Hello World' | truncate: 4: '', true }} <!-- 'Hello' -->
306-
{{ 'Hello World' | truncate: 4: '...', true }} <!-- 'Hello...' -->
307-
{{ 'Hello World, how is it going?' | truncate: 14: '...', true }} <!-- 'Hello World, how...' -->
305+
{{ 'Hello World' | truncate: 4: '': true }} <!-- 'Hello' -->
306+
{{ 'Hello World' | truncate: 4: '...': true }} <!-- 'Hello...' -->
307+
{{ 'Hello World, how is it going?' | truncate: 14: '...': true }} <!-- 'Hello World, how...' -->
308308
```
309309

310310
#### slugify

0 commit comments

Comments
 (0)