forked from 0x2620/pandora
only numbers in imdbId
This commit is contained in:
parent
099c2610e6
commit
2727c3d27d
1 changed files with 2 additions and 0 deletions
|
@ -623,6 +623,8 @@ pandora.ui.infoView = function(data) {
|
|||
edit[key] = value
|
||||
? Ox.decodeHTMLEntities(value).split('; ').map(Ox.encodeHTMLEntities)
|
||||
: [];
|
||||
} else if (key == 'imdbId') {
|
||||
edit[key] = value.match(/\d{7}/)[0];
|
||||
} else {
|
||||
edit[key] = value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue