14 Aug
2009
14 Aug
'09
12:53 p.m.
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