From 5a30e6c3af7f6bb1b4f02b5fcf8134c2b00ad3fb Mon Sep 17 00:00:00 2001 From: Ramon Van Gorkom Date: Sun, 15 Sep 2024 21:48:41 +0200 Subject: luci-theme-openwrt: change to HTML (like all other themes) instead of XML to fix incompatibility luci-theme-openwrt: change to HTML (like all other themes) instead of XML to fix incompatibility see also https://github.com/openwrt/luci/issues/7229 Signed-off-by: Ramon Van Gorkom --- .../luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'themes/luci-theme-openwrt/ucode') diff --git a/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut b/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut index f6c20be188..9f9e75d532 100644 --- a/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut +++ b/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut @@ -10,12 +10,11 @@ const boardinfo = ubus.call('system', 'board'); const loadinfo = ubus.call("system", "info")?.load; - http.prepare_content("application/xhtml+xml"); + http.prepare_content('text/html; charset=UTF-8'); -%} - - - + + -- cgit v1.2.3