mirror of
				https://github.com/gohugoio/hugoDocs.git
				synced 2025-11-03 20:13:31 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			568 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			568 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						|
title: plainify
 | 
						|
linktitle: plainify
 | 
						|
description: Strips any HTML and returns the plain text version of the provided string.
 | 
						|
godocref:
 | 
						|
date: 2017-02-01
 | 
						|
publishdate: 2017-02-01
 | 
						|
lastmod: 2017-04-30
 | 
						|
categories: [functions]
 | 
						|
menu:
 | 
						|
  docs:
 | 
						|
    parent: "functions"
 | 
						|
keywords: [strings]
 | 
						|
signature: ["plainify INPUT"]
 | 
						|
workson: []
 | 
						|
hugoversion:
 | 
						|
relatedfuncs: [jsonify,]
 | 
						|
deprecated: false
 | 
						|
aliases: []
 | 
						|
---
 | 
						|
 | 
						|
```
 | 
						|
{{ "<b>BatMan</b>" | plainify }} → "BatMan"
 | 
						|
```
 | 
						|
 | 
						|
See also the `.PlainWords`, `.Plain`, and `.RawContent` [page variables][pagevars].
 | 
						|
 | 
						|
 | 
						|
[pagevars]: /variables/page/
 | 
						|
 | 
						|
 |