mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -46,13 +46,16 @@ func init() {
|
||||
[][2]string{
|
||||
{
|
||||
`{{ htmlEscape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>" | safeHTML}}`,
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`},
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`,
|
||||
},
|
||||
{
|
||||
`{{ htmlEscape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>"}}`,
|
||||
`Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;`},
|
||||
`Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;`,
|
||||
},
|
||||
{
|
||||
`{{ htmlEscape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>" | htmlUnescape | safeHTML }}`,
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`},
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`,
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
@@ -61,16 +64,20 @@ func init() {
|
||||
[][2]string{
|
||||
{
|
||||
`{{ htmlUnescape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>" | safeHTML}}`,
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`},
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`,
|
||||
},
|
||||
{
|
||||
`{{"Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;" | htmlUnescape | htmlUnescape | safeHTML}}`,
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`},
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`,
|
||||
},
|
||||
{
|
||||
`{{"Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;" | htmlUnescape | htmlUnescape }}`,
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`},
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`,
|
||||
},
|
||||
{
|
||||
`{{ htmlUnescape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>" | htmlEscape | safeHTML }}`,
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`},
|
||||
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`,
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
@@ -104,7 +111,6 @@ func init() {
|
||||
)
|
||||
|
||||
return ns
|
||||
|
||||
}
|
||||
|
||||
internal.AddTemplateFuncsNamespace(f)
|
||||
|
Reference in New Issue
Block a user