Changes between Initial Version and Version 1 of Ticket #33787, comment 4
- Timestamp:
- 09/10/2015 11:30:56 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33787, comment 4
initial v1 3 3 You mean this one: https://github.com/twitter/twemoji/blob/gh-pages/twemoji.js#L236? It is generated from http://www.unicode.org/Public/UNIDATA/EmojiSources.txt. We are matching (hex) HTML entities as strings, can probably just get the first column (as array), and do something like: 4 4 {{{ 5 '/&#x(' . array_join( '|', $codepoints ) . ');/i';5 '/&#x(' . implode( '|', $codepoints ) . ');/i'; 6 6 }}} 7 7