I am wondering if there is a Listener that I can use to manipulate all the output from the templates.
I checked the template_post_render but it has a note:
Called after a template is rendered. Please note that this is only called for templates that are created via the template object directly. Templates that are included via <xen:include> will not trigger this event.
Is there anything else I can use so that all output is filtered?