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

[dev branch] Paragraph delimiters terminate parent headings instead of parent indent segments. #37

Closed
vhyrro opened this issue May 21, 2022 · 2 comments

Comments

@vhyrro
Copy link
Member

vhyrro commented May 21, 2022

Reproduction example:

* Heading
  - \
      Text
      ---
This text no longer belongs in the heading even though it should.

The --- paragraph delimiter should end the indent segment, but it instead terminates the heading.

mrossinek added a commit that referenced this issue May 22, 2022
@mrossinek
Copy link
Member

Are you sure that this is the case? On my end this is working fine (see the test case I just pushed)

@vhyrro
Copy link
Member Author

vhyrro commented May 22, 2022

A note for all other people reading this - after a discussion on discord we managed to find a minimal reproducible example of the issue:

* Heading One
* Heading Two
  - \
      Text
      ---
* Heading Three

In this case (a heading surrounded by other headings of the same type) the --- paragraph delimiter would incorrectly be assigned to the heading instead of the indent segment. This has now been fixed in the latest commit, so I can close this :)

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

2 participants