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

Edit fails to parse some messages with invalid TOML #71

Open
ErikBjare opened this issue Jan 22, 2024 · 1 comment
Open

Edit fails to parse some messages with invalid TOML #71

ErikBjare opened this issue Jan 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ErikBjare
Copy link
Owner

ErikBjare commented Jan 22, 2024

Seen this before, this is just one particular case I stumbled upon:

YELLOW = \"\033[93m\"

With the error:

Failed to parse TOML: Invalid character '0' in string at line 390 col 12

I guess we need to escape backslashes so that we don't end up with invalid escape codes.

@ErikBjare ErikBjare added the bug Something isn't working label Jan 30, 2024
@ErikBjare

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant