# HG changeset patch # User athomas # Date 1201135324 0 # Node ID 581abd96c9e439a940fabf1b3c1891a9de452e50 # Parent 1efe990d675e13871679a5f2f5dfc446160efea0 Fixed #178. diff --git a/genshi/output.py b/genshi/output.py --- a/genshi/output.py +++ b/genshi/output.py @@ -490,7 +490,7 @@ data = data.striptags().stripentities() yield unicode(data) - elif kind is OPTIMIZER: + elif event[0] is OPTIMIZER: yield event