1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/security-283] Unify behavior between adm and prosilver, clean up

SECURITY-283
This commit is contained in:
Marc Alexander
2025-03-01 09:22:23 +01:00
parent c3bb5e1bec
commit 17480d7d07
3 changed files with 33 additions and 19 deletions

View File

@@ -773,8 +773,9 @@ function parseDocument($container) {
}
if ((text.length && text !== '-') || cell.children().length) {
const $dfnElement = $("<dfn>").css('display', 'none').text(headers[column]);
cell.prepend($dfnElement);
if (headers[column].length) {
cell.prepend($("<dfn>").css('display', 'none').text(headers[column]));
}
} else {
cell.addClass('empty');
}