adds p class= snippet