162 | | // Ignore some standard characters that TinyMCE recommends in its character map. |
163 | | switch ( icon ) { |
164 | | case 'a9': |
165 | | case 'ae': |
166 | | case '2122': |
167 | | case '2194': |
168 | | case '2660': |
169 | | case '2663': |
170 | | case '2665': |
171 | | case '2666': |
172 | | return false; |
173 | | } |
174 | | |
175 | | if ( emoji.parseFlags && ! emoji.parseAllEmoji && ! icon.match( /^1f1(e[6-9a-f]|f[1-9a-f])-1f1(e[6-9a-f]|f[1-9a-f])$/ ) ) { |
176 | | return false; |
177 | | } |
178 | | |
179 | | return ''.concat( options.base, '/', icon, options.ext ); |
| 162 | return ''.concat( options.base, icon, options.ext ); |