diff --git a/src/webui/www/.htmlvalidate.json b/src/webui/www/.htmlvalidate.json
index e923fc76d..347314165 100644
--- a/src/webui/www/.htmlvalidate.json
+++ b/src/webui/www/.htmlvalidate.json
@@ -3,7 +3,6 @@
"html-validate:recommended"
],
"rules": {
- "empty-heading": "off",
"long-title": "off",
"no-conditional-comment": "off",
"no-inline-style": "off",
diff --git a/src/webui/www/private/views/about.html b/src/webui/www/private/views/about.html
index 9d6f7151d..3c366501d 100644
--- a/src/webui/www/private/views/about.html
+++ b/src/webui/www/private/views/about.html
@@ -2,7 +2,7 @@
QBT_TR(An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar.)QBT_TR[CONTEXT=AboutDialog]
Copyright © 2006-2024 The qBittorrent project
@@ -855,7 +855,7 @@ const qbtVersion = window.parent.qBittorrent.Cache.qbtVersion.get(); const buildInfo = window.parent.qBittorrent.Cache.buildInfo.get(); - $("qbittorrentVersion").innerText = `qBittorrent ${qbtVersion} QBT_TR(WebUI)QBT_TR[CONTEXT=OptionsDialog]`; + $("qbittorrentVersion").textContent = `qBittorrent ${qbtVersion} QBT_TR(WebUI)QBT_TR[CONTEXT=OptionsDialog]`; $("qtVersion").textContent = buildInfo.qt; $("libtorrentVersion").textContent = buildInfo.libtorrent; $("boostVersion").textContent = buildInfo.boost;