-
Notifications
You must be signed in to change notification settings - Fork 191
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
ERROR with "Multi-line basic strings are surrounded by three quotation marks" #113
Comments
Your example doesn't seem to reproduce. Does the bug require a nested structure?
|
I have tried to load data from many "config.toml" (different GOHUGO templates configs):
And found this problem with configs where these multi-strings was found. |
Something like toml.loads('''foo = """bar "baz" qux"""''') certainly reproduces. |
@nagisa that looks like it might be a separate bug related to having single quote strings inside triple quote strings. @KMiNT21 Hi Mykhail, I am having trouble reproducing this in a *nix environment. Maybe this is a Windows issue? Do you have an *nix (i.e. Linux, Mac, BSD) environment you can test the buggy toml files in? |
https://github.com/toml-lang/toml#user-content-string
This lib doesn't work with strings are surrounded by three quotation mark as it can be by "Tom's Obvious, Minimal Language" specification.
Example:
"File "C:\Python\Python35\lib\site-packages\toml.py", line 463, in _load_value
raise TomlDecodeError("Stuff after closed string. WTF?")
toml.TomlDecodeError: Stuff after closed string. WTF?"
The text was updated successfully, but these errors were encountered: