Add support for Foundation and custom html