luci-app-bmx7: fix markup which is not valid XHTML
authorJo-Philipp Wich <jo@mein.io>
Fri, 8 Oct 2021 17:50:23 +0000 (19:50 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 8 Oct 2021 17:53:09 +0000 (19:53 +0200)
Replace `<br>` with `<br />` as XHTML does not allow self-closing tags.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-bmx7/root/www/luci-static/resources/bmx7/js/netjsongraph.js

index 5e9e02d26e6103f89e791c502330279be5b58925..1df0db4e33db19f1c24df2ff26c71745104545b2 100644 (file)
                 }
                 if(n.linkCount) { html += "<p><b>links</b>: " + n.linkCount + "</p>"; }
                 if(n.local_addresses) {
-                    html += "<p><b>local addresses</b>:<br>" + n.local_addresses.join('<br>') + "</p>";
+                    html += "<p><b>local addresses</b>:<br />" + n.local_addresses.join('<br />') + "</p>";
                 }
                 overlayInner.html(html);
                 overlay.classed("njg-hidden", false);