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

Headings named "Map" produce bad HTML #114

Open
lavaleri opened this issue Apr 26, 2023 · 0 comments
Open

Headings named "Map" produce bad HTML #114

lavaleri opened this issue Apr 26, 2023 · 0 comments

Comments

@lavaleri
Copy link

When using duvet to parse the following specification, the command succeeds, but produces HTML which will not display in browser (tested Firefox/Chrome):

## Map

something something MUST something something.

This is because the resulting HTML includes something like:

{"id":"map","title":"Map","lines":...}

Specifically id cannot be map. If I change "map" to "map-foo" then the HTML "correctly" displays again.

Ideally, duvet should be able to handle this case. At the very least duvet should error instead of succeeding in this case.

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