diff --git a/phpBB/adm/style/admin.js b/phpBB/adm/style/admin.js index f34002c568..08d93a2689 100644 --- a/phpBB/adm/style/admin.js +++ b/phpBB/adm/style/admin.js @@ -71,8 +71,9 @@ function parse_document(container) var cell = $(this), colspan = parseInt(cell.attr('colspan')), dfn = cell.attr('data-dfn'), - text = dfn ? dfn : cell.text(); + text = dfn ? dfn : cell.text().trim(); + if (text == ' ') text = ''; colspan = isNaN(colspan) || colspan < 1 ? 1 : colspan; for (i=0; i' + headers[column] + ''); + if (headers[column] != '') { + cell.prepend('' + headers[column] + ''); + } } else { cell.addClass('empty');