Hello,

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?

In template.py, line 286:

    # Look for an encoding specification in the meta tag
    match = utils.re_meta.search(body)
    if match is not None:
        content_type, encoding = match.groups()
        # TODO: Shouldn't <meta>/<?xml?> stripping
        # be in PageTemplate.__call__()?
        body = utils.re_meta.sub("", body)
    else:
        content_type = None
        encoding = config.DEFAULT_ENCODING

I couldn't find the explanation anywhere in the source code nor in the
documentation.

Thanks,
Fabio
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to