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

Whitespace handling in triple-quoted strings is broken #119

Closed
nagisa opened this issue Aug 30, 2017 · 3 comments
Closed

Whitespace handling in triple-quoted strings is broken #119

nagisa opened this issue Aug 30, 2017 · 3 comments

Comments

@nagisa
Copy link

nagisa commented Aug 30, 2017

toml.loads('''foo = """
I expect newlines to be preserved?

Newlines please?
"""''')

returns

{ 'foo': 'I expect newlines to be preserved?\nNewlines please?\n' }

Where I'd expect a

{ 'foo': 'I expect newlines to be preserved?\n\nNewlines please?\n' }
@uiri
Copy link
Owner

uiri commented Sep 1, 2017

Hi,

Are you running the latest master? It looks like it is fixed there although it may be present in the latest pip release. This may be a dup of #80 or #68.

@nagisa
Copy link
Author

nagisa commented Sep 1, 2017 via email

@uiri
Copy link
Owner

uiri commented Sep 3, 2017

Closing as dup of #90

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

No branches or pull requests

2 participants