1

我不明白为什么这段代码会绊倒 Rails 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.”]
    }    
  ]
4

1 回答 1

6

由于不匹配的双引号,放大以突出差异:

[“选择一个样品……并获得批准。”]

看看结尾引号是如何“聪明”的引号?

修复后,它会通过http://yamllint.com/并变成实际的 YAML。

于 2013-04-20T02:30:48.243 回答