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

Ignore comments at top level. #67

Merged
merged 1 commit into from
Mar 29, 2022
Merged

Ignore comments at top level. #67

merged 1 commit into from
Mar 29, 2022

Conversation

longhotsummer
Copy link
Contributor

@longhotsummer longhotsummer commented Mar 28, 2022

Rather than looking at the first element explicitly, use find() to look for it.

Combine parse() with setting the namespace so we have access to the namespace as early as possible.

Fixes #58

@longhotsummer longhotsummer merged commit 84c6eb4 into master Mar 29, 2022
@longhotsummer longhotsummer deleted the allow-comments branch March 29, 2022 12:11
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 this pull request may close these issues.

error when first child is comment
2 participants