+
Skip to content

Comments fix #39

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

Merged
merged 11 commits into from
Jan 12, 2023
Merged

Comments fix #39

merged 11 commits into from
Jan 12, 2023

Conversation

trobro
Copy link
Member

@trobro trobro commented Jan 12, 2023

Fixes problems with values and/or end brackets ending up inside comments, even when the tree was unmarshalled from a document.

It is still possible to get this problem when programmatically setting comments.

If DecoderOptions::whitespaceAsComments is set to true, comments now also include trailing whitespace after quoteless strings.

@trobro trobro merged commit d553e65 into master Jan 12, 2023
@trobro trobro deleted the comments_fix branch January 12, 2023 17:30
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.

1 participant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载