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

AST Section nodes not grouping correctly #9

Closed
jameschensmith opened this issue Sep 13, 2024 · 2 comments · Fixed by #10
Closed

AST Section nodes not grouping correctly #9

jameschensmith opened this issue Sep 13, 2024 · 2 comments · Fixed by #10

Comments

@jameschensmith
Copy link

Summary

With v1.0.4, given the following example (playground link):

echo -n "# Test\n\n- List item" | go run github.com/sivukhin/[email protected]

I expect the following output:

<section id="Test">
<h1>Test</h1>
<ul>
<li>
List item
</li>
</ul>
</section>

But instead I get the following output:

<section id="Test">
<h1>Test</h1>
</section>
<ul>
<li>
List item
</li>
</ul>

I'm not sure if it's just lists. Block quotes seem to work fine.

(Also, thanks so much for your work on this package ❤️ )

@sivukhin
Copy link
Owner

@jameschensmith, happy to hear that someone besides me is using godjot!

I fixed your issue and published v1.0.5 tag which should not have described bug.

@jameschensmith
Copy link
Author

Of course! Glad to be using it ☺️

Awesome! Just pulled it down, and it does look like it's now working 😁 Thank you!

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

Successfully merging a pull request may close this issue.

2 participants