plainify.md (554B)
1 --- 2 title: plainify 3 linktitle: plainify 4 description: Strips any HTML and returns the plain text version of the provided string. 5 date: 2017-02-01 6 publishdate: 2017-02-01 7 lastmod: 2017-04-30 8 categories: [functions] 9 menu: 10 docs: 11 parent: "functions" 12 keywords: [strings] 13 signature: ["plainify INPUT"] 14 workson: [] 15 hugoversion: 16 relatedfuncs: [jsonify] 17 deprecated: false 18 aliases: [] 19 --- 20 21 ``` 22 {{ "<b>BatMan</b>" | plainify }} → "BatMan" 23 ``` 24 25 See also the `.PlainWords`, `.Plain`, and `.RawContent` [page variables][pagevars]. 26 27 [pagevars]: /variables/page/