You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like a legitimate TOML to me, but a combination of line feed and multiline literal produces incorrect results.
text=""" lines = ''' The first newline is trimmed in raw strings. 'All other whitespace' is preserved. '''""".strip()
obj=toml.loads(text)
# invalid#{u'lines': u" The first newline is\ntrimmed in raw strings.\n'All other whitespa e'' is preserved.\n"}# valid#{u'lines': u" The first newline is\ntrimmed in raw strings.\n'All other whitespace' is preserved.\n"}
It seems that there is a problem with the line feed after quoting in the multiline literal.
toml: 0.9.0
python:2.7
The text was updated successfully, but these errors were encountered:
It looks like a legitimate TOML to me, but a combination of line feed and multiline literal produces incorrect results.
It seems that there is a problem with the line feed after quoting in the multiline literal.
toml: 0.9.0
python:2.7
The text was updated successfully, but these errors were encountered: