Added support for custom html in thumbs