Inject custom function into Express view rendering pipeline to post-process generated HTML output.