hugoDocs/content/functions/plainify.md

593 B

title linktitle description godocref date publishdate lastmod categories tags signature workson hugoversion relatedfuncs deprecated aliases
plainify plainify Strips any HTML and returns the plain text version of the provided string. 2017-02-01 2017-02-01 2017-02-01
functions
strings
jsonify
false

plainify strips any HTML and returns the plain text version of the provided string.

{{ "<b>BatMan</b>" | plainify }} → "BatMan"

See also the .PlainWords, .Plain, and .RawContent page variables.