Fix invalid output of single-quoted scalars in cases when a single
commit0ab85759cf4ceef0672247295f4084fbb8cdb51d
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>
Fri, 30 Jun 2006 08:10:36 +0000 (30 08:10 +0000)
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>
Fri, 30 Jun 2006 08:10:36 +0000 (30 08:10 +0000)
treeb96d6ca1cb5ae80a452848b29383302c345b1389
parentf028ef1820d4360a77397c0562047c71792a8635
Fix invalid output of single-quoted scalars in cases when a single
quote is not escaped when preceeded by whitespaces or line breaks.
(Fix #17).

git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@197 18f92427-320e-0410-9341-c67f048884a3
lib/yaml/emitter.py
tests/data/invalid-single-quote-bug.code [new file with mode: 0644]
tests/data/invalid-single-quote-bug.data [new file with mode: 0644]