summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua
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/model/cbi/dockerman/volumes.lua
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/model/cbi/dockerman/volumes.lua')
-rw-r--r--applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua
index 865c913d30..5fbd55f7b5 100644
--- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua
+++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua
@@ -94,7 +94,7 @@ o = s:option(DummyValue, "_created", translate("Created"))
s = m:section(SimpleSection)
s.template = "dockerman/apply_widget"
s.err=docker:read_status()
-s.err=s.err and s.err:gsub("\n","<br>"):gsub(" ","&nbsp;")
+s.err=s.err and s.err:gsub("\n","<br />"):gsub(" ","&#160;")
if s.err then
docker:clear_status()
end