diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-08-11 12:48:30 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-08-11 15:16:16 +0200 |
commit | 946e6af0bb662861c954ccff60b2861aa5e1166e (patch) | |
tree | f94d768ed1cb797a7c13d8c5661c560fb91873b7 /internal | |
parent | 5d84f64759aa99fd45737b4efcd7ef889486a114 (diff) | |
download | hugo-946e6af0bb662861c954ccff60b2861aa5e1166e.tar.gz hugo-946e6af0bb662861c954ccff60b2861aa5e1166e.zip |
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
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions