Skip to content

fix(parser): preserve comment symbols inside quoted string values - #416

Open
AdamMagued wants to merge 1 commit into
go-ini:mainfrom
AdamMagued:fix-issue-393
Open

AdamMagued wants to merge 1 commit into
go-ini:mainfrom
AdamMagued:fix-issue-393

Conversation

@AdamMagued

Copy link
Copy Markdown

Fixes #393

Summary

  • Updated parser to ignore inline comment delimiters when located inside quoted string literals.
  • Added unit tests covering values containing # and ; within single and double quotes.

Verified via container sandbox test suite.

Signed-off-by: AdamMagued <adamismailmageud@gmail.com>

This branch has not been deployed

No deployments
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.

value parsed incorrectly when a comment symbol (#) is inside a quoted string

1 participant