2013-04-20 80 views
1

我不明白爲什麼這段代碼絆倒軌道YAML分析器。爲什麼這是無效的YAML?

sections: 
    [ 
    {title: "Journal Entry Testing", 
    procedures: 
     ["Select a sample of journal entries prepared during the year and determine if they were prepared correctly and approved.」] 
    }  
    ] 

回答

6

由於不匹配的雙引號,放大突出的區別:

[「選擇樣本...和批准。」]

見結束的報價如何「智能」報價?

由於固定,它通過http://yamllint.com/,並變成實際的YAML。