1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-14 19:45:21 +02:00

[ticket/11956] Check for children elements in tables

PHPBB3-11956
This commit is contained in:
Vjacheslav Trushkin 2013-10-26 12:22:33 +03:00
parent 6dedac1929
commit ee4c1ba5a8

View File

@ -800,7 +800,7 @@ function parse_document(container)
return; return;
} }
if (text.length && text !== '-') { if ((text.length && text !== '-') || cell.children().length) {
cell.prepend('<dfn style="display: none;">' + headers[column] + '</dfn>'); cell.prepend('<dfn style="display: none;">' + headers[column] + '</dfn>');
} }
else { else {