projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c538a
)
luci-base: ui.js: HTML escape uci changelog values
author
Jo-Philipp Wich
<jo@mein.io>
Mon, 22 Jul 2019 15:18:32 +0000
(17:18 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Fri, 26 Jul 2019 08:22:05 +0000
(10:22 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/ui.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/ui.js
b/modules/luci-base/htdocs/luci-static/resources/ui.js
index e47e11b1cddd8dacdef4977f6e7f9bf51feefada..1a98dbcc9a00f4ca01992be5d5f4e6be9a069736 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/ui.js
@@
-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];