# HG changeset patch # User cmlenz # Date 1236978319 0 # Node ID 398c1b07f832378d29ad7f2bdb4cc58b1245df53 # Parent e1c6163c5077c9a2955109f087006d02b865addd Follow-up fix for [1038]. diff --git a/genshi/output.py b/genshi/output.py --- a/genshi/output.py +++ b/genshi/output.py @@ -469,7 +469,8 @@ output = cache_get((kind, data)) if output is not None: yield output - if kind is START or kind is EMPTY and data[0] in noescape_elems: + if (kind is START or kind is EMPTY) \ + and data[0] in noescape_elems: noescape = True elif kind is END: noescape = False