summaryrefslogtreecommitdiff
path: root/emitter.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-01-23 12:23:47 +0100
committerAnthon van der Neut <anthon@mnt.org>2017-01-23 12:23:47 +0100
commit610bebfbbc8887195f1ad9f52adbed7ffcf70876 (patch)
tree20567b150c64f93b051645be03312c0676de3e15 /emitter.py
parent5f73166ac799522dea0377044b4f1df12c27c331 (diff)
downloadruamel.yaml-610bebfbbc8887195f1ad9f52adbed7ffcf70876.tar.gz
allow ':' in flow-style scalar when not followed by space0.13.11
Diffstat (limited to 'emitter.py')
-rw-r--r--emitter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emitter.py b/emitter.py
index 21961b3..a1cdf54 100644
--- a/emitter.py
+++ b/emitter.py
@@ -775,8 +775,8 @@ class Emitter(object):
if ch in u',?[]{}':
flow_indicators = True
if ch == u':':
- flow_indicators = True
if followed_by_whitespace:
+ flow_indicators = True
block_indicators = True
if ch == u'#' and preceeded_by_whitespace:
flow_indicators = True