Gopher
FUNCTIONS

chomp

Removes any trailing newline characters.

Syntax

chomp INPUT

Useful in a pipeline to remove newlines added by other processing (e.g., markdownify ).

{{chomp "<p>Blockhead</p>\n"}} → "<p>Blockhead</p>"