Mercurial > genshi > genshi-test
changeset 831:398c1b07f832
Follow-up fix for [1038].
author | cmlenz |
---|---|
date | Fri, 13 Mar 2009 21:05:19 +0000 |
parents | e1c6163c5077 |
children | 7ad34db77566 |
files | genshi/output.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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