Re: [Zope-dev] chameleon.core removes the meta http-equiv="content-type" tag

2009-09-10 Thread Malthe Borch
Fabio Tranchitella wrote: > # TODO: Shouldn't / stripping > # be in PageTemplate.__call__()? > body = utils.re_meta.sub("", body) This snippet was removed from ``chameleon.core`` in r6505. \malthe ___ Zope-Dev maillist - Zope-

Re: [Zope-dev] chameleon.core removes the meta http-equiv="content-type" tag

2009-09-09 Thread Fred Drake
The is used to identify the encoding of the file providing the template. This has nothing to do with the encoding of the output resource, which is determined by the application. In the case of the Zope publisher, Unicode output from the template is converted to UTF-8 by default, and the charset

Re: [Zope-dev] chameleon.core removes the meta http-equiv="content-type" tag

2009-09-09 Thread Sidnei da Silva
On Wed, Sep 9, 2009 at 9:13 AM, Malthe Borch wrote: > Fabio Tranchitella wrote: >> I hope this is the right mailing list for such a question. Why does >> chameleon.core removes the meta tag http-equiv="content-type" from the >> output? > > I have no idea why; I've asked Sidnei to clarify that parti

Re: [Zope-dev] chameleon.core removes the meta http-equiv="content-type" tag

2009-09-09 Thread Malthe Borch
Fabio Tranchitella wrote: > I hope this is the right mailing list for such a question. Why does > chameleon.core removes the meta tag http-equiv="content-type" from the > output? I have no idea why; I've asked Sidnei to clarify that particular changeset in Chameleon (although I suspect it was jus

Re: [Zope-dev] chameleon.core removes the meta http-equiv="content-type" tag

2009-08-14 Thread Dan Korostelev
2009/8/14 Jim Fulton : > On Fri, Aug 14, 2009 at 9:07 AM, Dan Korostelev wrote: >> Oh, thanks that you reminded me of that :)) >> >> This looks like it migrated from zope.pagetemplate. That shameless >> removal of content from my template annoyed me as well some time ago, >> so at last I monkey-pat

Re: [Zope-dev] chameleon.core removes the meta http-equiv="content-type" tag

2009-08-14 Thread Jim Fulton
On Fri, Aug 14, 2009 at 9:07 AM, Dan Korostelev wrote: > Oh, thanks that you reminded me of that :)) > > This looks like it migrated from zope.pagetemplate. That shameless > removal of content from my template annoyed me as well some time ago, > so at last I monkey-patched that method in zope.paget

Re: [Zope-dev] chameleon.core removes the meta http-equiv="content-type" tag

2009-08-14 Thread Dan Korostelev
Oh, thanks that you reminded me of that :)) This looks like it migrated from zope.pagetemplate. That shameless removal of content from my template annoyed me as well some time ago, so at last I monkey-patched that method in zope.pagetemplate. I think, we should remove that behaviour from both zope