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

Invalid HTML generated for lists with empty bullets #12

Open
bcspragu opened this issue Jul 28, 2022 · 0 comments
Open

Invalid HTML generated for lists with empty bullets #12

bcspragu opened this issue Jul 28, 2022 · 0 comments

Comments

@bcspragu
Copy link

bcspragu commented Jul 28, 2022

I've come across a weird edge case that results in bad HTML (e.g. a bunch of extra < and > tags), and written up the failing test in Silicon-Ally#1

I tried running the test with dlv test, but wasn't able to figure out where things go off the rails. I noticed at one point early on, fm.Val becomes <ol>, e.g. it already has the wrapping tags, but I couldn't figure out why that happens only for lists with a single non-blank bullet. See testdata/list5.json for a passing example.

BTW, thanks for making this library!

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

1 participant