diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/transform/init.go | 2 | ||||
-rw-r--r-- | tpl/transform/transform_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/transform/init.go b/tpl/transform/init.go index 2783a513f..62cb0a9c3 100644 --- a/tpl/transform/init.go +++ b/tpl/transform/init.go @@ -32,7 +32,7 @@ func init() { ns.AddMethodMapping(ctx.Emojify, []string{"emojify"}, [][2]string{ - {`{{ "I :heart: Hugo" | emojify }}`, `I ❤ Hugo`}, + {`{{ "I :heart: Hugo" | emojify }}`, `I ❤️ Hugo`}, }, ) diff --git a/tpl/transform/transform_test.go b/tpl/transform/transform_test.go index d10ff585c..b3f4206ff 100644 --- a/tpl/transform/transform_test.go +++ b/tpl/transform/transform_test.go @@ -44,7 +44,7 @@ func TestEmojify(t *testing.T) { expect interface{} }{ {":notamoji:", template.HTML(":notamoji:")}, - {"I :heart: Hugo", template.HTML("I ❤ Hugo")}, + {"I :heart: Hugo", template.HTML("I ❤️ Hugo")}, // errors {tstNoStringer{}, false}, } { |