diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2020-04-08 13:56:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 13:56:14 +0300 |
commit | 7791a804e2179667617b3b145b0fe7eba17627a1 (patch) | |
tree | 87bab75852475804312062387001d33cdbce2b3a | |
parent | c774b230e941902675af081f118ea206a4f2a04e (diff) |
deps: Update to latest emoji package
-rw-r--r-- | go.mod | 2 | ||||
-rw-r--r-- | go.sum | 4 | ||||
-rw-r--r-- | tpl/transform/init.go | 2 | ||||
-rw-r--r-- | tpl/transform/transform_test.go | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -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 @@ -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}, } { |