Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Xkeeper0 opened this issue Jul 23, 2024 · 0 comments
Open

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

Xkeeper0 opened this issue Jul 23, 2024 · 0 comments

Comments

@Xkeeper0
Copy link

Xkeeper0 commented Jul 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant