luci-base: html escape values in uci changes display

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-09-10 17:16:01 +02:00
parent fe0e4f8b4d
commit 7513a4ca35

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