diff --git a/src/toml.rs b/src/toml.rs index c41cb9a..96f04b5 100644 --- a/src/toml.rs +++ b/src/toml.rs @@ -473,6 +473,14 @@ impl TomlParser { while self.cur != '\n' && self.cur != '\0' { self.next(i); } + + while self.cur == '\n' + || self.cur == '\r' + || self.cur == '\t' + || self.cur == ' ' + { + self.next(i); + } } '"' => { let mut val = String::new();