Skip to content

Commit 8296d6b

Browse files
authored
Merge pull request #849 from arp242/quoted-key
2 parents 3b11f69 + 087eaac commit 8296d6b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

toml.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,13 @@ to use bare keys except when absolutely necessary.
128128
```
129129

130130
A bare key must be non-empty, but an empty quoted key is allowed (though
131-
discouraged).
131+
discouraged). You cannot use multi-line strings to define quoted keys.
132132

133133
```toml
134-
= "no key name" # INVALID
135-
"" = "blank" # VALID but discouraged
136-
'' = 'blank' # VALID but discouraged
134+
= "no key name" # INVALID
135+
"""key""" = "not allowed" # INVALID
136+
"" = "blank" # VALID but discouraged
137+
'' = 'blank' # VALID but discouraged
137138
```
138139

139140
**Dotted keys** are a sequence of bare or quoted keys joined with a dot. This

0 commit comments

Comments
 (0)