Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
Unknown
-
Description
When exporting to Office (ODT) the HTML given to Office for the following wiki content:
|= table header |= table header |= table header | cell | cell | cell | cell | cell | cell
will contain spaces in each <th> and <td> at the beginning and end of each cell.
The result in Office is the following:
If your wiki content is like that, then you get a nicer display
|=table header|=table header|=table header |cell|cell|cell |cell|cell|cell
which becomes even better with a width param:
(% width="100%" %) |=table header|=table header|=table header |cell|cell|cell |cell|cell|cell
So we would need to use an HTMLCleaner which trims the white spaces in cells and also adds a width parameter to the
Note that in XWiki all this displays the same (100%):
It's also unclear why in office the "th" ends up centered while the "td" is left align. The HTML has no difference.
After more testing, it has been found that the "CO2" display is a bug of the Klima font which was used in this specific document. It might be an easter egg as the font is called "Klima".
Concerning the table width there is still an issue to resolve. I will however create another ticket because the data in this ticket might be confusing.
I'll close the ticket once the new one is created.