Skip to content

[Bug]: No newline added in table if there is a switch from short to long rows #428

@Fethbita

Description

@Fethbita

What happened?

When a table contains both short and long rows, long rows are broken to a cell in each line and separated from other rows by a blank line. However this blank line is not added if there are short rows and a long row following that.

In the example, I would have expected an empty line to be added before line 20.

Playground link

https://typstyle-rs.github.io/typstyle/playground/?code=MQMwlg5grgTgpgCgFAAIUBcCGAjANo1NFAYwHtcoBbAOwGcAuFBTKdUgGhbc9dIEp2hNJlyRqjBPhDp2KKTLlxpAoRhz4AdAAs4mACZwYCANqYAurOPYLKY8TMqit4GEqYIiAESZatOOloAegBGDQAHaghPdgB3MD10LUYAVgBOAFI%2BC2MXNw8Eb19-IIAmcMjolDiEpJRk5Mzs3PcvHz8AwIBmcqjY%2BMTGYJAYLMEnHNcWgrbirp7o6oGUIZGmyfzC9qCAFnnZRdqS4dGJvNaiju6I3oPB44tVU1o9EBsnl7efD7Gid9fLL7-WyAh7jEEA55Av6g37g4GQz4In5oaEQ77w76POGojH-R7NDYzS57W7Le7sU5TTazXbXSqko6rCkE85bOZ0vo1O5MwiOEiYMLoMCkcS2B58IA

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions