1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-12-28 15:19:10 +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',
'\ud83d\udcb2',
'\ud83d\udcb1',
'\xa9',
'\xae',
'\u2122',
'\xa9\ufe0f',
'\xae\ufe0f',
'\u2122\ufe0f',
'\ud83d\udd1a',
'\ud83d\udd19',
'\ud83d\udd1b',
@ -1917,7 +1917,7 @@ wru.test([{
allIosEmoji.forEach(function (emoji) {
div.innerHTML = emoji;
twemoji.parse(div);
wru.assert(`recognized as graphical`,
wru.assert(`${emoji} recognized as graphical`,
div.firstChild.className === 'emoji' &&
div.firstChild.getAttribute('draggable') === 'false' &&
div.firstChild.getAttribute('alt') === emoji