openwrt / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
6.38k stars 2.53k forks source link

[luci.js] invalid XML #3357

Closed ghost closed 4 years ago

ghost commented 4 years ago

Failed to set the 'innerHTML' property on 'Element': The provided markup is invalid XML, and therefore cannot be inserted into an XML document.

or

SyntaxError An invalid or illegal string was specified


Browser console points to luci.js

162 else if(children!==null&&children!==undefined){node.innerHTML=''+children;return node.lastChild;}

jow- commented 4 years ago

Which theme? Which version of luci-mod-status?

ghost commented 4 years ago

OpenWrt theme only, does not exhibit with Bootstrap or Material.

luci-mod-status git-19.329.02080-e3b3653-1.0 (that is on Master).

jow- commented 4 years ago

Hm, there is no revision e3b3653 in the repo. The 1.0 revision looks odd as well. Is this some LuCI fork?

ghost commented 4 years ago

No fork

opkg info luci-mod-status

Package: luci-mod-status Version: git-19.329.02080-e3b3653-1.0 Depends: libc, luci-base, libiwinfo, libiwinfo-lua Status: install user installed Section: luci Architecture: arm_cortex-a9_vfpv3 Size: 25498 Filename: luci-mod-status_git-19.329.02080-e3b3653-1_arm_cortex-a9_vfpv3.ipk Description: LuCI Status Pages Installed-Time: 1574668515

jow- commented 4 years ago

That version is newer than the current LuCI branch tip and newer than whats available on the download server. You must be building from some different source, or with custom commits applied or something.

ghost commented 4 years ago

A bit strange since the LuCI packages are being pulled straight from the OpenWrt feed (server).

Closing since being a minor issue and exhibiting only OpenWrt theme.