summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-10-08 19:42:04 +0200
committerJo-Philipp Wich <jo@mein.io>2021-10-08 19:53:09 +0200
commit12cdacdb3f2800c0586feffef6b470a792dd9da2 (patch)
tree6ff5fce759423054241dd894a80b660a087fc5f8 /applications/luci-app-dockerman/luasrc/controller
parent99019024adb3e3c6b5a03a421a7c6db4ebc9e7e2 (diff)
luci-app-dockerman: fix markup which is not valid XHTML
XHTML does not specify `&nbsp;`, use `&#160;` instead. Also replace `<br>` with `<br />`. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/controller')
-rw-r--r--applications/luci-app-dockerman/luasrc/controller/dockerman.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
index 6a60382289..0b8dd5d900 100644
--- a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
+++ b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
@@ -183,7 +183,7 @@ end
function action_confirm()
local data = docker:read_status()
if data then
- data = data:gsub("\n","<br>"):gsub(" ","&nbsp;")
+ data = data:gsub("\n","<br />"):gsub(" ","&#160;")
code = 202
msg = data
else