Skip to content

Commit

Permalink
Fix for bug #118
Browse files Browse the repository at this point in the history
  • Loading branch information
scauligi authored and ingydotnet committed Feb 28, 2019
1 parent 9959328 commit d13a3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib3/yaml/emitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def prepare_tag(self, tag):
start = end = end+1
data = ch.encode('utf-8')
for ch in data:
chunks.append('%%%02X' % ord(ch))
chunks.append('%%%02X' % ch)
if start < end:
chunks.append(suffix[start:end])
suffix_text = ''.join(chunks)
Expand Down

0 comments on commit d13a3d0

Please sign in to comment.