add <p> snippet to html snippet