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.