Moving html_filter helpers to the common application.