Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

[table] BBCode formatting issue

This site may earn commission on affiliate links.
I've put a table into a post, but it gets displayed with many blank lines beforehand.

eg. table immediately follows the ---- but doesn't display as such
-------------
r1 c1r1 c2r1 c3
r2 c1r2 c2r2 c3
-----------

the BBCode for this is
Code:
[table]
[tr]
[th]r1 c1[/th]
[th]r1 c2[/th]
[th]r1 c3[/th]
[/tr]
[tr]
[td]r2 c1[/td]
[td]r2 c2[/td]
[td]r2 c3[/td]
[/tr]
[/table]
 
I found that the spacing is added by the line breaks in the BBCode, so between leading [/td] and following [td]. So user error.

However, an issue still persists where if centering a cell contents, the BBcode seems to get rewritten during the save or subsequent load, and reinserts line breaks causing vertical spacing issue within the cell.[/td]