cleanup imdb id
This commit is contained in:
parent
4d2de79f32
commit
9adafc4377
1 changed files with 2 additions and 0 deletions
|
@ -516,6 +516,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