1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-11-02 11:30:12 +00:00

added SELECT to the list of ignored nodes

This commit is contained in:
Andrea Giammarchi 2015-03-13 10:25:20 +00:00
parent c42a15bca1
commit 4dd82d4c9e
4 changed files with 4 additions and 4 deletions

View File

@ -505,7 +505,7 @@ function createTwemoji(re) {
re = /twemoji/,
// nodes with type 1 which should **not** be parsed
shouldntBeParsed = /IFRAME|NOFRAMES|NOSCRIPT|SCRIPT|STYLE|TEXTAREA/,
shouldntBeParsed = /IFRAME|NOFRAMES|NOSCRIPT|SCRIPT|SELECT|STYLE|TEXTAREA/,
// just a private shortcut
fromCharCode = String.fromCharCode;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long