treewide: avoid double-escaping CBI section labels
authorJo-Philipp Wich <jo@mein.io>
Tue, 12 Feb 2019 07:32:02 +0000 (08:32 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 12 Feb 2019 07:35:02 +0000 (08:35 +0100)
commit23029f5163a4864922056bf1f043914b1b806967
tree1bc1b9b3dd60d6808d3980812bca37c00521f28b
parent28e852f4e06303d313ac06b0b0c9d5e4dd3b13a0
treewide: avoid double-escaping CBI section labels

Since the section labels are already HTML-escaped implicitely by the
striptags() function, we must not escape them again in attr() or
ifattr().

Fixes: #2524
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit eda8f02dac3caa4d0f52cd1e860d7a392c295df3)
applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm
modules/luci-base/luasrc/view/cbi/cell_valueheader.htm
modules/luci-base/luasrc/view/cbi/tblsection.htm