From 54636fbc6302ab8ef221eeec05be250963b7278e Mon Sep 17 00:00:00 2001 From: rlx Date: Fri, 8 Jan 2016 17:27:37 +0530 Subject: [PATCH] fix formatting of arrays on info page --- static/js/infoView.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/infoView.js b/static/js/infoView.js index 8e8d1d6..fd7a571 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -319,7 +319,9 @@ oml.ui.infoView = function(identifyData) { } function splitValue(value) { - return Ox.encodeHTMLEntities(Ox.decodeHTMLEntities(value).split('; ')); + return Ox.decodeHTMLEntities(value).split('; ').map(function(value) { + return Ox.encodeHTMLEntities(value); + }); } function toggleCoverSize(ratio) {