Fix closing of <p> tag which was causing display issues