luci-base: html escape values in uci changes display

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 7513a4ca35)
This commit is contained in:
Jo-Philipp Wich 2019-09-10 17:16:01 +02:00
parent ff4c722a21
commit 14d2f9b216

View file

@ -48,7 +48,7 @@
return delta[2] return delta[2]
end end
elseif n == "4" then elseif n == "4" then
return util.shellquote(delta[4]) return pcdata(util.shellquote(delta[4]))
else else
return delta[tonumber(n)] return delta[tonumber(n)]
end end