I need to view the HTML generated by Drupal and it is pretty hard. If I want to the final output to be put through an HTML beautifier before sending it off to the client where would I do that?
I am sure some of the page optimization utilities on the admin/config/development/performance
or the advagg
module are at the right place in the pipeline. What stage or APIs would I have to hook into to accomplish something this?
Are there any APIs which can be hooked into to accomplish this or even modules to this?