mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
deps: Update to latest emoji package
This commit is contained in:
committed by
GitHub
parent
c774b230e9
commit
7791a804e2
@@ -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`},
|
||||
},
|
||||
)
|
||||
|
||||
|
@@ -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},
|
||||
} {
|
||||
|
Reference in New Issue
Block a user