luci-app-dawn: fix custom markup
authorJo-Philipp Wich <jo@mein.io>
Mon, 29 Mar 2021 09:45:01 +0000 (11:45 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 29 Mar 2021 09:52:21 +0000 (11:52 +0200)
commitd627abeff25fbd96c96f2e07e5fde42309ff7c9c
treed62baed5889b69c0ef79b4e24f40e74416f114b6
parentadcc2ef446cc2efa0eb81764b7c7ede3ba6a5bc2
luci-app-dawn: fix custom markup

 - Properly indent HTML markup
 - Replace div-based table markup with actual tables
 - Escape SSID, hostname and interface values to prevent potential XSS

Fixes: #4942
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 32f0ff25a2ef28b58eae62688ecdb9d23dc91df0)
applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_hearing_map.lua
applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_network.lua