mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-23 03:58:56 -04:00
Merge pull request #179 from kiwix/new-display-tags
Replace the ";" between tags by " "
This commit is contained in:
commit
d3fdcb8eb2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user