Support for html snippets