@osapon
twemoji.parseにstringではなくHTMLElementを渡せばいい感じに処理してくれるようです。 https://github.com/twitter/twemoji#dom-parsing
https://github.com/cutls/TheDesk/commit/9af6c5536ae48dad1ebd0434c8bb427ba199fb94
Dev of Mastodon client: TheDesk and TootDesk
Choose your OS:
Windows-> https://thedesk.top
Linux-> https://thedesk.top
macOS-> https://thedesk.top
iOS-> https://apps.apple.com/app/id1591748028
Android-> 😇
@osapon
twemoji.parseにstringではなくHTMLElementを渡せばいい感じに処理してくれるようです。 https://github.com/twitter/twemoji#dom-parsing
https://github.com/cutls/TheDesk/commit/9af6c5536ae48dad1ebd0434c8bb427ba199fb94