-
-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow any whitespace after \ to escape newline in """ and disallow co…
…ntrol characters This changed in TOML 0.5: Allow accidental whitespace between backslash and newline in the line continuation operator in multi-line basic strings In general it deals with CRLF inside """ strings better: it all gets normalized to LF. This also fixes the last of the crashes in #239; """\\r""" would panic. Control characters aren't allowed in strings anyway, so error out on that too.
- Loading branch information
Showing
3 changed files
with
137 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters