Support nested embeddings and HTML snippets.