Switch list to p tag