diff --git a/go.mod b/go.mod index 0f9a7607a..4b75840b0 100644 --- a/go.mod +++ b/go.mod @@ -24,7 +24,7 @@ require ( github.com/gorilla/websocket v1.4.1 github.com/jdkato/prose v1.1.1 github.com/kr/pretty v0.2.0 // indirect - github.com/kyokomi/emoji v2.1.0+incompatible + github.com/kyokomi/emoji v2.2.1+incompatible github.com/magefile/mage v1.9.0 github.com/markbates/inflect v1.0.0 github.com/mattn/go-isatty v0.0.11 diff --git a/go.sum b/go.sum index 7311318ca..a6ffc3b37 100644 --- a/go.sum +++ b/go.sum @@ -215,8 +215,8 @@ github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kyokomi/emoji v2.1.0+incompatible h1:+DYU2RgpI6OHG4oQkM5KlqD3Wd3UPEsX8jamTo1Mp6o= -github.com/kyokomi/emoji v2.1.0+incompatible/go.mod h1:mZ6aGCD7yk8j6QY6KICwnZ2pxoszVseX1DNoGtU2tBA= +github.com/kyokomi/emoji v2.2.1+incompatible h1:uP/6J5y5U0XxPh6fv8YximpVD1uMrshXG78I1+uF5SA= +github.com/kyokomi/emoji v2.2.1+incompatible/go.mod h1:mZ6aGCD7yk8j6QY6KICwnZ2pxoszVseX1DNoGtU2tBA= github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/magefile/mage v1.9.0 h1:t3AU2wNwehMCW97vuqQLtw6puppWXHO+O2MHo5a50XE= github.com/magefile/mage v1.9.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= 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}, } {