Change html '<p>' tag to the '<pre>' tag to preserve the whitespace.