t: test
Pay attention that it’s a tab after :,and I used this YAML parser to test whether it’s valid or not(IMO it’s not valid):
Array
(
[t] => test
)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to the specification, both tab (U+0009) and space (U+0020) are considered “white space characters” that may be used to delimit tokens.
So what makes you think it’s illegal in that context? Especially considering that example 6.3 makes it clear that it’s valid:
(
·denotes a space (U+0020), while→denotes a tab character (U+0009)).