Merge pull request #179 from kiwix/new-display-tags

Replace the ";" between tags by " "
This commit is contained in:
Matthieu Gautier 2019-06-25 10:31:32 +02:00 committed by GitHub
commit d3fdcb8eb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,9 @@ function niceBytes(x){
function createDict(keys, values) {
var d = {}
for(var i=0; i<keys.length; i++) {
if (keys[i] == "tags") {
values[i] = values[i].replace(/;/g, " ");
}
d[keys[i]] = values[i];
}
return d;