Skip to content

Avoid parsing // as comment when inside string - #555

Open
thomasp85 wants to merge 3 commits into
mainfrom
comment-inside-strings
Open

thomasp85 wants to merge 3 commits into
mainfrom
comment-inside-strings

Conversation

@thomasp85

Copy link
Copy Markdown
Collaborator

Fixes a bug when e.g. including urls inside labels etc where the // in http:// would be interpreted as starting a comment and swallow the rest of the line

@thomasp85
thomasp85 requested a review from teunbrand September 21, 2026 11:44

@teunbrand teunbrand left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I don't think we have a pre-existing corpus test for comments, and maybe we ought to have one

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.

2 participants