Page MenuHomePhabricator

Template using a template which is creating a (wikisyntax)-table is creating a leading linebreak
Open, LowPublic

Description

When you have a template "A" which is calling another template "B" which will return a wiki table created by wiki syntax, in the end you get a leading line break before the table when calling template "A".

Using template "B" instead wouldn't result in a leading linebreak.

This whole thing can break the nice look of the page because it is creating void <p></p> paragraphs when using template "A" to times in a row with a void line inbetween like:

{{A |...}}

{{A |...}}

And It's quiet confusing when using

{{A |...}}

{{A |...}}

{{B |...}}

{{B |...}}

because there is no logical explanation why the space between A, B and B looks pretty nice, the space between A and A on the other hand is much bigger because of <p></p>

Another thing is, that the whole thing would work fine with HTML table syntax. Looks like the bug lays somewhere within the wiki table syntax.


Version: 1.15.x
Severity: normal

Details

Reference
bz24844

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:00 PM
bzimport set Reference to bz24844.
bzimport added a subscriber: Unknown Object (MLST).