|
191 | 191 | {"type":"TextWhitespace","value":" "}, |
192 | 192 | {"type":"Punctuation","value":"|"}, |
193 | 193 | {"type":"LiteralStringDoc","value":"\n This entire block of text will be the value of the 'literal_block' key,\n with line breaks being preserved.\n\n The literal continues until de-dented, and the leading indentation is\n stripped.\n\n Any lines that are 'more-indented' keep the rest of their indentation -\n these lines will be indented by 4 spaces."}, |
194 | | - {"type":"TextWhitespace","value":" \n"}, |
| 194 | + {"type":"TextWhitespace","value":"\n"}, |
195 | 195 | {"type":"NameTag","value":"folded_style"}, |
196 | 196 | {"type":"Punctuation","value":":"}, |
197 | 197 | {"type":"TextWhitespace","value":" "}, |
198 | 198 | {"type":"Punctuation","value":"\u003e"}, |
199 | 199 | {"type":"LiteralStringDoc","value":"\n This entire block of text will be the value of 'folded_style', but this\n time, all newlines will be replaced with a single space.\n\n Blank lines, like above, are converted to a newline character.\n\n 'More-indented' lines keep their newlines, too -\n this text will appear over two lines."}, |
200 | | - {"type":"TextWhitespace","value":" \n"}, |
| 200 | + {"type":"TextWhitespace","value":"\n"}, |
201 | 201 | {"type":"NameTag","value":"literal_block_with_strip_chomping"}, |
202 | 202 | {"type":"Punctuation","value":":"}, |
203 | 203 | {"type":"TextWhitespace","value":" "}, |
204 | 204 | {"type":"Punctuation","value":"|-"}, |
205 | 205 | {"type":"LiteralStringDoc","value":"\n This entire block of text will be the value of the 'literal_block' key,\n with line breaks being preserved and the strip chomping indicator.\n\n The literal continues until de-dented, and the leading indentation is\n stripped.\n\n Any lines that are 'more-indented' keep the rest of their indentation -\n these lines will be indented by 4 spaces."}, |
206 | | - {"type":"TextWhitespace","value":" \n"}, |
| 206 | + {"type":"TextWhitespace","value":"\n"}, |
207 | 207 | {"type":"NameTag","value":"literal_block_with_keep_chomping"}, |
208 | 208 | {"type":"Punctuation","value":":"}, |
209 | 209 | {"type":"TextWhitespace","value":" "}, |
210 | 210 | {"type":"Punctuation","value":"|+"}, |
211 | 211 | {"type":"LiteralStringDoc","value":"\n This entire block of text will be the value of the 'literal_block' key,\n with line breaks being preserved and the keep chomping indicator.\n\n The literal continues until de-dented, and the leading indentation is\n stripped."}, |
212 | | - {"type":"TextWhitespace","value":" \n\n"}, |
| 212 | + {"type":"TextWhitespace","value":"\n\n"}, |
213 | 213 | {"type":"NameTag","value":"a"}, |
214 | 214 | {"type":"Punctuation","value":":"}, |
215 | 215 | {"type":"TextWhitespace","value":" "}, |
216 | 216 | {"type":"Punctuation","value":"|"}, |
217 | 217 | {"type":"LiteralStringDoc","value":"\n multiline literal\n line 2"}, |
218 | | - {"type":"TextWhitespace","value":" \n"}, |
| 218 | + {"type":"TextWhitespace","value":"\n"}, |
219 | 219 | {"type":"NameTag","value":"b"}, |
220 | 220 | {"type":"Punctuation","value":":"}, |
221 | 221 | {"type":"TextWhitespace","value":" "}, |
222 | 222 | {"type":"Punctuation","value":"\u003e"}, |
223 | 223 | {"type":"LiteralStringDoc","value":"\n multiline: folded\n line 2"}, |
224 | | - {"type":"TextWhitespace","value":" \n"}, |
| 224 | + {"type":"TextWhitespace","value":"\n"}, |
225 | 225 | {"type":"NameTag","value":"c"}, |
226 | 226 | {"type":"Punctuation","value":":"}, |
227 | 227 | {"type":"TextWhitespace","value":" "}, |
228 | 228 | {"type":"Punctuation","value":"|-"}, |
229 | 229 | {"type":"LiteralStringDoc","value":"\n multiline # literal strip\n line 2"}, |
230 | | - {"type":"TextWhitespace","value":" \n"}, |
| 230 | + {"type":"TextWhitespace","value":"\n"}, |
231 | 231 | {"type":"NameTag","value":"d"}, |
232 | 232 | {"type":"Punctuation","value":":"}, |
233 | 233 | {"type":"TextWhitespace","value":" "}, |
234 | 234 | {"type":"Punctuation","value":"\u003e-"}, |
235 | 235 | {"type":"LiteralStringDoc","value":"\n multiline folded strip\n line 2: test\n\n # not a comment\n indented by 1"}, |
236 | | - {"type":"TextWhitespace","value":" \n"}, |
| 236 | + {"type":"TextWhitespace","value":"\n"}, |
237 | 237 | {"type":"NameTag","value":"e"}, |
238 | 238 | {"type":"Punctuation","value":":"}, |
239 | 239 | {"type":"TextWhitespace","value":" "}, |
240 | 240 | {"type":"Punctuation","value":"|+"}, |
241 | 241 | {"type":"LiteralStringDoc","value":"\n multiline literal keep\n line: 2"}, |
242 | | - {"type":"TextWhitespace","value":" \n"}, |
| 242 | + {"type":"TextWhitespace","value":"\n"}, |
243 | 243 | {"type":"Comment","value":"# this is a comment"}, |
244 | 244 | {"type":"TextWhitespace","value":"\n"}, |
245 | 245 | {"type":"NameTag","value":"f"}, |
246 | 246 | {"type":"Punctuation","value":":"}, |
247 | 247 | {"type":"TextWhitespace","value":" "}, |
248 | 248 | {"type":"Punctuation","value":"\u003e+"}, |
249 | 249 | {"type":"LiteralStringDoc","value":"\n multiline folded keep one space\n line 2"}, |
250 | | - {"type":"TextWhitespace","value":" \n"}, |
| 250 | + {"type":"TextWhitespace","value":"\n"}, |
251 | 251 | {"type":"NameTag","value":"g"}, |
252 | 252 | {"type":"Punctuation","value":":"}, |
253 | 253 | {"type":"TextWhitespace","value":" "}, |
254 | 254 | {"type":"Punctuation","value":"|"}, |
255 | 255 | {"type":"LiteralStringDoc","value":"\n multiline literal with only one line"}, |
256 | | - {"type":"TextWhitespace","value":" \n"}, |
| 256 | + {"type":"TextWhitespace","value":"\n"}, |
257 | 257 | {"type":"NameTag","value":"h"}, |
258 | 258 | {"type":"Punctuation","value":":"}, |
259 | 259 | {"type":"TextWhitespace","value":" "}, |
|
267 | 267 | {"type":"TextWhitespace","value":" "}, |
268 | 268 | {"type":"Punctuation","value":"|"}, |
269 | 269 | {"type":"LiteralStringDoc","value":"\n multiline literal\n line 2"}, |
270 | | - {"type":"TextWhitespace","value":" \n "}, |
| 270 | + {"type":"TextWhitespace","value":"\n "}, |
271 | 271 | {"type":"NameTag","value":"b"}, |
272 | 272 | {"type":"Punctuation","value":":"}, |
273 | 273 | {"type":"TextWhitespace","value":" "}, |
274 | 274 | {"type":"Punctuation","value":"\u003e"}, |
275 | 275 | {"type":"LiteralStringDoc","value":"\n multiline: folded\n line 2"}, |
276 | | - {"type":"TextWhitespace","value":" \n "}, |
| 276 | + {"type":"TextWhitespace","value":"\n "}, |
277 | 277 | {"type":"NameTag","value":"c"}, |
278 | 278 | {"type":"Punctuation","value":":"}, |
279 | 279 | {"type":"TextWhitespace","value":" "}, |
280 | 280 | {"type":"Punctuation","value":"|-"}, |
281 | 281 | {"type":"LiteralStringDoc","value":"\n multiline # literal strip\n line 2 6 leading spaces"}, |
282 | | - {"type":"TextWhitespace","value":" \n\n "}, |
| 282 | + {"type":"TextWhitespace","value":"\n\n "}, |
283 | 283 | {"type":"NameTag","value":"d"}, |
284 | 284 | {"type":"Punctuation","value":":"}, |
285 | 285 | {"type":"TextWhitespace","value":" "}, |
286 | 286 | {"type":"Punctuation","value":"\u003e-"}, |
287 | 287 | {"type":"LiteralStringDoc","value":"\n multiline folded strip\n line 2: test\n # not a comment"}, |
288 | | - {"type":"TextWhitespace","value":" \n "}, |
| 288 | + {"type":"TextWhitespace","value":"\n "}, |
289 | 289 | {"type":"NameTag","value":"e"}, |
290 | 290 | {"type":"Punctuation","value":":"}, |
291 | 291 | {"type":"TextWhitespace","value":" "}, |
292 | 292 | {"type":"Punctuation","value":"|+"}, |
293 | 293 | {"type":"LiteralStringDoc","value":"\n multiline literal keep\n line: 2"}, |
294 | | - {"type":"TextWhitespace","value":" \n "}, |
| 294 | + {"type":"TextWhitespace","value":"\n "}, |
295 | 295 | {"type":"Comment","value":"# this is a comment"}, |
296 | 296 | {"type":"TextWhitespace","value":"\n "}, |
297 | 297 | {"type":"NameTag","value":"f"}, |
298 | 298 | {"type":"Punctuation","value":":"}, |
299 | 299 | {"type":"TextWhitespace","value":" "}, |
300 | 300 | {"type":"Punctuation","value":"\u003e+"}, |
301 | 301 | {"type":"LiteralStringDoc","value":"\n multiline folded keep\n line 2"}, |
302 | | - {"type":"TextWhitespace","value":" \n "}, |
| 302 | + {"type":"TextWhitespace","value":"\n "}, |
303 | 303 | {"type":"NameTag","value":"g"}, |
304 | 304 | {"type":"Punctuation","value":":"}, |
305 | 305 | {"type":"TextWhitespace","value":" "}, |
306 | 306 | {"type":"Punctuation","value":"|"}, |
307 | 307 | {"type":"LiteralStringDoc","value":"\n multiline literal with only one line"}, |
308 | | - {"type":"TextWhitespace","value":" \n "}, |
| 308 | + {"type":"TextWhitespace","value":"\n "}, |
309 | 309 | {"type":"NameTag","value":"h"}, |
310 | 310 | {"type":"Punctuation","value":":"}, |
311 | 311 | {"type":"TextWhitespace","value":" "}, |
|
355 | 355 | {"type":"TextWhitespace","value":" "}, |
356 | 356 | {"type":"Punctuation","value":"|"}, |
357 | 357 | {"type":"LiteralStringDoc","value":"\n This is a key\n that has multiple lines"}, |
358 | | - {"type":"TextWhitespace","value":" \n"}, |
| 358 | + {"type":"TextWhitespace","value":"\n"}, |
359 | 359 | {"type":"Punctuation","value":":"}, |
360 | 360 | {"type":"TextWhitespace","value":" "}, |
361 | 361 | {"type":"Literal","value":"and this is its value"}, |
|
622 | 622 | {"type":"TextWhitespace","value":" "}, |
623 | 623 | {"type":"Punctuation","value":"|"}, |
624 | 624 | {"type":"LiteralStringDoc","value":"\n R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\n OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\n +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\n AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs="}, |
625 | | - {"type":"TextWhitespace","value":" \n\n"}, |
| 625 | + {"type":"TextWhitespace","value":"\n\n"}, |
626 | 626 | {"type":"Comment","value":"# YAML also has a set type, which looks like this:"}, |
627 | 627 | {"type":"TextWhitespace","value":"\n"}, |
628 | 628 | {"type":"NameTag","value":"set"}, |
|
0 commit comments