mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-08 11:04:39 -04:00
Fix typo
This commit is contained in:
parent
ac09690635
commit
cbb6677ec5
@ -20,9 +20,9 @@ aliases: [/functions/chomp]
|
||||
If the argument is of type `template.HTML`, returns `template.HTML`, else returns a `string`.
|
||||
|
||||
```go-html-template
|
||||
{{ chomp | "foo\n" }} → foo
|
||||
{{ chomp | "foo\n\n" }} → foo
|
||||
{{ chomp "foo\n" }} → foo
|
||||
{{ chomp "foo\n\n" }} → foo
|
||||
|
||||
{{ chomp | "foo\r\n" }} → foo
|
||||
{{ chomp | "foo\r\n\r\n" }} → foo
|
||||
{{ chomp "foo\r\n" }} → foo
|
||||
{{ chomp "foo\r\n\r\n" }} → foo
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user