a tags to p tags and corresponding changes