luci-app-dawn: fix custom markup
authorJo-Philipp Wich <[email protected]>
Mon, 29 Mar 2021 09:45:01 +0000 (11:45 +0200)
committerJo-Philipp Wich <[email protected]>
Mon, 29 Mar 2021 09:51:39 +0000 (11:51 +0200)
commit32f0ff25a2ef28b58eae62688ecdb9d23dc91df0
tree3f24f6d53c60144e3fc3729eaf520bb30b108859
parent95b5c6cd6464d11d6baa22bcf2c9469847353813
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 <[email protected]>
applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_hearing_map.lua
applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_network.lua