-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
(YAML) Handling of '\' #4068
Labels
Comments
Can anything be escaped in single quoted YAML strings? |
https://yaml.org/spec/1.2.2/#single-quoted-style covers this. The apostrophe can be escaped by doubling it. That's it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Highlight.js seems to treat
'\'
in YAML as escaping the'
but with'
quoting the backslash does not escape the apostrophe in YAML.The text was updated successfully, but these errors were encountered: