mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-02 11:42:37 +00:00
505 B
505 B
title, linktitle, description, godocref, date, publishdate, lastmod, categories, tags, signature, workson, hugoversion, relatedfuncs, deprecated
| title | linktitle | description | godocref | date | publishdate | lastmod | categories | tags | signature | workson | hugoversion | relatedfuncs | deprecated | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| chomp | chomp | 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>"