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

Escaped quote character breaks highlighting #291

Closed
ThomasOrlita opened this issue Nov 20, 2022 · 0 comments
Closed

Escaped quote character breaks highlighting #291

ThomasOrlita opened this issue Nov 20, 2022 · 0 comments
Labels
confirmed Issue is confirmed as a bug and should be fixed (opposite of `wont fix`) 🐛 type/bug Describes or resolves a bug (unintended behavior or problem)

Comments

@ThomasOrlita
Copy link

System Information

  • Operating System: Win 11
  • Extension Version: v0.2.1
  • VSCode Version: 1.73.1
  • caddy Version: n/a

Describe the bug
Escaped quote character breaks highlighting.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Open the following Caddyfile
example.com {
   respond "\"hello"
}
example.net {
	# 
}
  1. Notice the syntax highlighting breaks at line 2

Expected Behavior
Syntax highlighting is applied correctly to the string, taking in consideration the escaped " character.

@ThomasOrlita ThomasOrlita added the 🐛 type/bug Describes or resolves a bug (unintended behavior or problem) label Nov 20, 2022
@matthewpi matthewpi added the confirmed Issue is confirmed as a bug and should be fixed (opposite of `wont fix`) label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed Issue is confirmed as a bug and should be fixed (opposite of `wont fix`) 🐛 type/bug Describes or resolves a bug (unintended behavior or problem)
Projects
None yet
Development

No branches or pull requests

2 participants