Ihor Radchenko writes:
> "Tom Alexander" writes:
>
>> 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
Hmm thanks, that makes sense. I guess a post-processing step to merge adjacent
paragraphs wouldn't work either since that wouldn't stitch together objects
like the bold in this test document without re-parsing the entire paragraph:
```
foo *bar
:end:
baz*
```
oh well 路
--
Tom Alexander
pgp:
"Tom Alexander" writes:
> 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
Same problem occurs with this sample document:
```
foo
#+BEGIN: bar
baz
```
which parses as:
```
(section
(paragraph "foo\n")
(paragraph "#+BEGIN: bar\nbaz\n)
)
```
again, no blank lines and no non-paragraph elements but the single paragraph
got split in two.
--
Tom Alexander
pgp:
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