[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Extra paragraphs incorrectly spawning when ":end:" appears.
From: |
Tom Alexander |
Subject: |
Extra paragraphs incorrectly spawning when ":end:" appears. |
Date: |
Sat, 30 Sep 2023 14:47:27 -0400 |
User-agent: |
Cyrus-JMAP/3.9.0-alpha0-958-g1b1b911df8-fm-20230927.002-g1b1b911d |
This test document has 1 paragraph:
```
foo
bar
baz
```
which parses as:
```
(section
(paragraph "foo\nbar\nbaz\n")
)
```
This test document should have 1 paragraph but org-mode is parsing it as 2:
```
foo
:end:
baz
```
which parses as:
```
(section
(paragraph "foo\n")
(paragraph ":end:\nbaz\n")
)
```
The paragraph documentation[1] states that:
> Empty lines and other elements end paragraphs.
But the document contains no empty lines and we can see in the output that it only contains paragraphs.
- Extra paragraphs incorrectly spawning when ":end:" appears.,
Tom Alexander <=