On Wed, Feb 22, 2012 at 8:08 PM, Fred Drake <f...@fdrake.net> wrote:
> On Wed, Feb 22, 2012 at 10:28 AM, Miano Njoka <mianonj...@gmail.com> wrote:
>> <meta http-equiv="content-type" content="text/html;charset=UTF-8"
>> /> tags were being stripped out from ZPT templates. Is there a reason
>> for this?
>
> As I recall, the rationale goes like this:
>
> 1. We're sniffing the input encoding from the charset setting.
>
> 2. We're storing the content-type on the instance (I hope tihs
>   is still true).
>
> 3. The template/application/publisher is responsible for
>   delivering the the output with an appropriate content-type
>   header.


Yes, this is true, but why strip out the meta tag from the resulting HTML?
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to