hugo/docs/content/en/functions/plainify.md

564 B

title linktitle description godocref date publishdate lastmod categories menu keywords 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-04-30
functions
docs
parent
functions
strings
plainify INPUT
jsonify
false
{{ "<b>BatMan</b>" | plainify }} → "BatMan"

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