diff --git a/src/core/render/emojify.js b/src/core/render/emojify.js index 4d521089..a1061de4 100644 --- a/src/core/render/emojify.js +++ b/src/core/render/emojify.js @@ -1892,7 +1892,7 @@ function replaceEmojiShorthand(m, $1, useNativeEmoji) { .concat('︎'); result = `${emojiUnicode}`; } else { - result = `${1}`; + result = `${$1}`; } } diff --git a/test/integration/__snapshots__/docs.test.js.snap b/test/integration/__snapshots__/docs.test.js.snap index 34b7c70e..fa972a01 100644 --- a/test/integration/__snapshots__/docs.test.js.snap +++ b/test/integration/__snapshots__/docs.test.js.snap @@ -7,6 +7,6 @@ exports[`Docs Site coverpage renders and is unchanged 1`] = ` Getting Started

" `; -exports[`Docs Site navbar renders and is unchanged 1`] = `""`; +exports[`Docs Site navbar renders and is unchanged 1`] = `""`; exports[`Docs Site sidebar renders and is unchanged 1`] = `""`; diff --git a/test/integration/__snapshots__/emoji.test.js.snap b/test/integration/__snapshots__/emoji.test.js.snap index 808bab3a..b8dae28b 100644 --- a/test/integration/__snapshots__/emoji.test.js.snap +++ b/test/integration/__snapshots__/emoji.test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Emoji Fallback emoji (images) 1`] = `"

hh:mm

hh:mm:

hh:mm:ss

:mm:s

Namespace::SubNameSpace

Namespace::SubNameSpace::Class

2014-12-29T16:11:20+00:00

2020-12-03T15:05:57+00:00 (extended)

2020-12-03T15:05:57Z (extended)

:01:

\\"1\\"

1\\"1\\"

\\"1\\"1

1\\"1\\"1

\\"1\\"\\"1\\"\\"1\\"

\\"1\\" \\"1\\" \\"1\\"

"`; +exports[`Emoji Fallback emoji (images) 1`] = `"

hh:mm

hh:mm:

hh:mm:ss

:mm:s

Namespace::SubNameSpace

Namespace::SubNameSpace::Class

2014-12-29T16:11:20+00:00

2020-12-03T15:05:57+00:00 (extended)

2020-12-03T15:05:57Z (extended)

:01:

\\"smile\\"

1\\"smile\\"

\\"smile\\"1

1\\"smile\\"1

\\"smile\\"\\"smile\\"\\"smile\\"

\\"smile\\" \\"smile\\" \\"smile\\"

"`; exports[`Emoji Native emoji 1`] = `"

hh:mm

hh:mm:

hh:mm:ss

:mm:s

Namespace::SubNameSpace

Namespace::SubNameSpace::Class

2014-12-29T16:11:20+00:00

2020-12-03T15:05:57+00:00 (extended)

2020-12-03T15:05:57Z (extended)

:01:

😄︎

1😄︎

😄︎1

1😄︎1

😄︎😄︎😄︎

😄︎ 😄︎ 😄︎

"`;