@@ -129,7 +129,8 @@ objToEvents' (String s) rest =
129129 where
130130 event
131131 -- Make sure that special strings are encoded as strings properly.
132− | s `HashSet.member` specialStrings = EventScalar (encodeUtf8 s) StrTag SingleQuoted Nothing
132+ -- See: https://github.com/snoyberg/yaml/issues/31
133+ | s `HashSet.member` specialStrings = EventScalar (encodeUtf8 s) NoTag SingleQuoted Nothing
133134 | otherwise = EventScalar (encodeUtf8 s) StrTag PlainNoTag Nothing
134135objToEvents' Null rest = EventScalar "null" NullTag PlainNoTag Nothing : rest
135136objToEvents' (Bool True) rest = EventScalar "true" BoolTag PlainNoTag Nothing : rest