Bjoern wrote:
> Hi all,
>
> There's an example for a table here:
> http://www.sciencemedianetwork.org/wiki/Collection/tables
>
> When this table is printed, spurious <tr> are inserted.
>
> It has quite a large cell, which may be something to do with this
> problem: When the cells are more reasonably sized, the problem doesn't
> occur.
>
>
Your assumption is correct. The "treecleaner" module tries to identify
problematic markup/nodes and converts them to something less problematic.
If you run mw-render with the debug option (when rendering PDFs) the
reports from the treecleaner module are printed:
mw-render -w rl -o test.pdf -c http://www.sciencemedianetwork.org/wiki_source -W debug 'Collection/tables'
output:
...
('transformSingleColTables', "'replaced single col table with div. div children:' [Node, Paragraph tagname='p', Div '': 7 children]")
('splitBigTableCells', "'replacing child' Row tagname='tr' [Row tagname='tr', Row tagname='tr', Row tagname='tr']")
...
The output is used for debugging purposes.
Regards,
Volker
--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstraße 64
fax +49 6131 2116392 55118 mainz
volke...@brainbot.com http://www.brainbot.com/
Bjoern wrote:
> Hi Volker,
>
> thanks for fixing the bug with the extra cell borders - that was
> exactly what I was after!!
>
> I guess this will go live on the render server in a few days?
>
>
Hi Björn,
yes, we'll update the software in the next few days.
Regards,
Volker
--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstraße 64
fax +49 6131 2116392 55118 mainz