Chairos noticed a bug in WebHelpers that was ultimately traced to literal dropping.
>>> from webhelpers.html import * >>> t1 = HTML.legend() >>> t1 literal(u'<legend></legend>') >>> t2 = HTML.link() >>> t2 literal(u'<link />') >>> "\n".join([t1, t2]) u'<legend></legend>\n<link />' Oops, it's not literal anymore; it will be escaped. >>> literal("\n").join([t1, t2]) literal(u'<legend></legend>\n<link />') There, that's what I want. Is this a known problem? Is it possible to do anything about it? Or are literals on the right side of a join incapable of influencing the result? If so, we should document that. What other string operations would do this? -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en -~----------~----~----~----~------~----~------~--~---