Skip to content

Whitespace at the start of a formula line causes a parse error #87

Open
@Xkeeper0

Description

As title says. A single space at the start of a formula comment line will cause a parse error. (Extra spaces at the end of the line are ignored, though.)

| Item              | Grams |
| ----------------- | ----- |
| Whole Wheat Flour | 110   |
| Bread Flour       | 748   |
| Warm Water        | 691   |
| Salt              | 18    |
| Starter           | 40    |
| **Total Grams**   | 1607  |
 <!-- TBLFM: @>$2=sum(@I..@-1) -->

This can be particularly devious because in some fonts and settings, the problem may not be immediately obvious. Even the "Home" button won't make it clear what's wrong, since one press jumps to the start of text, rather than the start of the line.

image

Ran into this one while trying to copy-paste just the sum example from the documentation, since I already had the table.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions