Closed calmofthestorm closed 4 years ago
Yes, this is the expected behavior of org-elements api:
It looks like org mode itself also has this behavior, so my understanding of the spec was incorrect. Thanks for checking.
Actually, the org syntax is quite brief. It doesn't cover every possible edge cases like CommonMark does. So orgize will try to behave the same way as org-elements api (the builtin org-mode parser), and may not follow the org syntax in some situations.
Thanks for the explanation. I agree it makes sense to try to track org-mode/org-elements as closely as possible, given that if they and the standard disagree, I suspect the standard is more likely to be updated than they are unless it's an important failure mode.
It looks like empty headlines' tags get treated as part of the raw, and the tags not picked up.