Mercurial > genshi > mirror
comparison markup/output.py @ 213:13d2d4420628 trunk
Store original message in exceptions as `msg` ivar.
author | cmlenz |
---|---|
date | Thu, 31 Aug 2006 08:49:37 +0000 |
parents | 0141f45c18e1 |
children | ebceef564b79 |
comparison
equal
deleted
inserted
replaced
212:0141f45c18e1 | 213:13d2d4420628 |
---|---|
345 | 345 |
346 buf += ['>'] | 346 buf += ['>'] |
347 | 347 |
348 if kind is EMPTY: | 348 if kind is EMPTY: |
349 if tagname not in empty_elems: | 349 if tagname not in empty_elems: |
350 buf.append('</%s>' % tagname) | 350 buf += ['</%s>' % tagname] |
351 | 351 |
352 yield Markup(''.join(buf)) | 352 yield Markup(''.join(buf)) |
353 | 353 |
354 if tagname in noescape_elems: | 354 if tagname in noescape_elems: |
355 noescape = True | 355 noescape = True |