From: Jo-Philipp Wich Date: Fri, 8 Oct 2021 17:51:44 +0000 (+0200) Subject: luci-app-olsr-viz: fix markup which is not valid XHTML X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e6e4575f7c8034cf1d9d8c5049ac6f1ecdebe070;p=project%2Fluci.git luci-app-olsr-viz: fix markup which is not valid XHTML Replace `
` with `
` as XHTML does not allow self-closing tags. Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz.js b/applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz.js index 81eb78fb02..08ff1777cd 100644 --- a/applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz.js +++ b/applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz.js @@ -228,11 +228,11 @@ function node(ip) { + "width: 150px; height: 1px; z-index: 4; " + "position: absolute; background-color: transparent;' >" + "
node " + this.ip + "
" + + " alt='node " + this.ip + "' style='border: none;'>
" + "" + "" + this.ip + "" + (showdesc && this.desc != "" ? - "
" + this.desc + "" : "") + "
" + this.desc + "" : "") + "
"; return nh; } @@ -690,10 +690,10 @@ function declump(t) { xoff=-xmin; yoff=-ymin; /* - document.getElementById('debug').innerHTML = "
" + - "offset: " + xoff + "x" + yoff + " dsum: " + dsum + "
" + - "nc: " + nc + " ec: " + ec + "xmax: " + xmax + " xmin: " + xmin + "
" + - "optsize: " + optsize + "
"; + document.getElementById('debug').innerHTML = "
" + + "offset: " + xoff + "x" + yoff + " dsum: " + dsum + "
" + + "nc: " + nc + " ec: " + ec + "xmax: " + xmax + " xmin: " + xmin + "
" + + "optsize: " + optsize + "
"; */ refresh(); if(auto_declump) { @@ -765,7 +765,7 @@ function drag(ereignis) { function debug_writeln(line) { - document.getElementById('debug').innerHTML = line + "
" + document.getElementById('debug').innerHTML; + document.getElementById('debug').innerHTML = line + "
" + document.getElementById('debug').innerHTML; } /**