mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-10-17 16:20:32 -04:00

We need to rework the whole template func docs and, while a good idea, this does not fit into that.
602 B
602 B
title | linktitle | description | godocref | date | publishdate | lastmod | categories | menu | signature | workson | hugoversion | relatedfuncs | deprecated | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
chomp | chomp | Removes any trailing newline characters. | Removes any trailing newline characters. | 2017-02-01 | 2017-02-01 | 2017-02-01 |
|
|
|
|
false |
Removes any trailing newline characters. Useful in a pipeline to remove newlines added by other processing (e.g., markdownify
).
{{chomp "<p>Blockhead</p>\n"}} → "<p>Blockhead</p>"