Get snippets working with text.html