Fix for regex with mixed content <p> tags.