mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 13:32:08 -05:00
440 B
440 B
title | toc | description | categories | menu | keywords | signature | relatedfuncs | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
chomp | true | 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>"