mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 16:27:32 -04:00
tpl/transform: Make Plainify and ToMath return template.HTML
None of these are useful as plain strings in the templates, which forces the users to do `transform.Plainify "foo" | safeHTML`. If people have trust issues with the output of these functions, they need to just stop using them. Closes #8732
This commit is contained in:
parent
31727be2e5
commit
1efcbcddb2
@ -6,7 +6,7 @@ keywords: []
|
||||
action:
|
||||
aliases: [plainify]
|
||||
related: []
|
||||
returnType: string
|
||||
returnType: template.HTML
|
||||
signatures: [transform.Plainify INPUT]
|
||||
aliases: [/functions/plainify]
|
||||
---
|
||||
|
Loading…
x
Reference in New Issue
Block a user