add angry note about twemoji breaking spec
This commit is contained in:
parent
13e76b8022
commit
8ef60cdf0b
|
@ -13,6 +13,15 @@ interface UnicodeMap {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Twemoji strips their hex codes from unicode codepoints to make it look "pretty"
|
||||||
|
* - leading 0s are removed
|
||||||
|
* - fe0f is removed unless it has 200d
|
||||||
|
* - fe0f is NOT removed for 1f441-fe0f-200d-1f5e8-fe0f even though it has a 200d
|
||||||
|
*
|
||||||
|
* this is all wrong
|
||||||
|
*/
|
||||||
|
|
||||||
const blacklist = {
|
const blacklist = {
|
||||||
'1f441-fe0f-200d-1f5e8-fe0f': true,
|
'1f441-fe0f-200d-1f5e8-fe0f': true,
|
||||||
};
|
};
|
||||||
|
@ -33,7 +42,6 @@ const tweaks = {
|
||||||
'9⃣': ['39-20e3', 'nine'],
|
'9⃣': ['39-20e3', 'nine'],
|
||||||
'🏳🌈': ['1f3f3-fe0f-200d-1f308', 'rainbow-flag'],
|
'🏳🌈': ['1f3f3-fe0f-200d-1f308', 'rainbow-flag'],
|
||||||
'🏳⚧️': ['1f3f3-fe0f-200d-26a7-fe0f', 'transgender_flag'],
|
'🏳⚧️': ['1f3f3-fe0f-200d-26a7-fe0f', 'transgender_flag'],
|
||||||
// '🏳️⚧️': ['1f3f3-fe0f-200d-26a7-fe0f'],
|
|
||||||
'🏳⚧': ['1f3f3-fe0f-200d-26a7-fe0f', 'transgender_flag'],
|
'🏳⚧': ['1f3f3-fe0f-200d-26a7-fe0f', 'transgender_flag'],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue