1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-12-29 00:22:57 +00:00

TM, R & C should render as text by default

This commit is contained in:
Nathan Downs 2018-06-04 16:51:23 -07:00
parent 81e67331c4
commit fa3371d0a0

View File

@ -1604,9 +1604,9 @@ wru.test([{
'\u2716\ufe0f', '\u2716\ufe0f',
'\ud83d\udcb2', '\ud83d\udcb2',
'\ud83d\udcb1', '\ud83d\udcb1',
'\xa9', '\xa9\ufe0f',
'\xae', '\xae\ufe0f',
'\u2122', '\u2122\ufe0f',
'\ud83d\udd1a', '\ud83d\udd1a',
'\ud83d\udd19', '\ud83d\udd19',
'\ud83d\udd1b', '\ud83d\udd1b',
@ -1917,7 +1917,7 @@ wru.test([{
allIosEmoji.forEach(function (emoji) { allIosEmoji.forEach(function (emoji) {
div.innerHTML = emoji; div.innerHTML = emoji;
twemoji.parse(div); twemoji.parse(div);
wru.assert(`recognized as graphical`, wru.assert(`${emoji} recognized as graphical`,
div.firstChild.className === 'emoji' && div.firstChild.className === 'emoji' &&
div.firstChild.getAttribute('draggable') === 'false' && div.firstChild.getAttribute('draggable') === 'false' &&
div.firstChild.getAttribute('alt') === emoji div.firstChild.getAttribute('alt') === emoji