luci-base: ui.js: HTML escape uci changelog values
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
a6c538a776
commit
c67f052d91
1 changed files with 1 additions and 1 deletions
|
@ -1797,7 +1797,7 @@ return L.Class.extend({
|
|||
return chg[1];
|
||||
|
||||
case 4:
|
||||
return "'" + chg[3].replace(/'/g, "'\"'\"'") + "'";
|
||||
return "'%h'".format(chg[3].replace(/'/g, "'\"'\"'"));
|
||||
|
||||
default:
|
||||
return chg[m1-1];
|
||||
|
|
Loading…
Reference in a new issue