mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	
	
	Files
			
			
				
					
						
					
					1c18f3fc49051fe75604b804e514be7e15712526
				
			
			
		
	
		
			
	
	
		
			32 lines
		
	
	
		
			565 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
	
	
			32 lines
		
	
	
		
			565 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"
							 | 
						|||
								#tags: [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/
							 | 
						|||
								
							 | 
						|||
								
							 |