Skip to content

Hard line break on empty line in grid table produces invalid latex #1733

@cmadsen

Description

@cmadsen

The following makes latex say ! LaTeX Error: There's no line here to end.

+-----------------------------------+------------------------------------+      
|Total revenue:                     | \                                  |
|                                   | \                                  |
|- Current year                     | 000.000  \                         |
|- Previous year                    | 000.000  \                         |
|                                   | \                                  |
| Total profit/loss:                | \                                  |
|                                   | \                                  |
|- Current year                     |  \                                 |
|- Previous year                    | 000.000 \                          |
|                                   | 000.000                            |
+-----------------------------------+------------------------------------+

Hard line breaks on empty lines should prepend a \mbox{} when generating latex. Inserting \mbox{} \ by hand works.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions