mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
Decode custom video title from info
The values in JSON info are URI encoded with "+" signs, add custom decode function that decodes them.
This commit is contained in:
@@ -104,3 +104,8 @@ function encodeHTML(text)
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''');
|
||||
}
|
||||
|
||||
function decodeURIPlus(uri)
|
||||
{
|
||||
return decodeURI(uri.replace(/\+/g, ' '));
|
||||
}
|
||||
|
Reference in New Issue
Block a user