changeset 201:c5e0a1c86173 trunk

The `TextSerializer` should produce `unicode` objects, not `Markup` objects.
author cmlenz
date Fri, 25 Aug 2006 12:39:55 +0000
parents 5861f4446c26
children 92353f28ae54
files markup/output.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/markup/output.py
+++ b/markup/output.py
@@ -427,7 +427,7 @@
             if kind is TEXT:
                 if type(data) is Markup:
                     data = data.striptags().stripentities()
-                yield data
+                yield unicode(data)
 
 
 class WhitespaceFilter(object):
Copyright (C) 2012-2017 Edgewall Software