revert variable name
This commit is contained in:
		@@ -35,9 +35,9 @@ func ConvertToHTML(md string) (string, error) {
 | 
			
		||||
	// Bluemonday-Policy anpassen, sodass id-Attribute auf h1-h6 erlaubt sind.
 | 
			
		||||
	p := bluemonday.UGCPolicy()
 | 
			
		||||
	p.AllowAttrs("id").OnElements("h1", "h2", "h3", "h4", "h5", "h6")
 | 
			
		||||
	htmlOutput := p.Sanitize(buf.String())
 | 
			
		||||
	html := p.Sanitize(buf.String())
 | 
			
		||||
 | 
			
		||||
	return htmlOutput, nil
 | 
			
		||||
	return html, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func ConvertToPlain(md string) (string, error) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user