[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Empty headline titles unsupported: Bug?
From: |
Tom Gillespie |
Subject: |
Re: Empty headline titles unsupported: Bug? |
Date: |
Sun, 26 Sep 2021 16:47:49 -0700 |
Hi Bastien,
I am strongly in favor of this change. It simplifies the grammar
significantly, and from my work on the laundry lexer and parser, I'm
99% certain that the current behavior is a bug that is the result of
gobbling the space after the stars in the headline. The correct
implementation peeks 1 char ahead for the space, and then starts
parsing again starting with the space. This is because tags MUST be
preceded by a space, so if you incorrectly gobble the space after the
stars then that space cannot be used as the start for tags. Best,
Tom