mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 19:53:15 -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>"