added some print statements to see if it's not
registering diffdetails or something else
also fixed <p> to </p> tags for tail tags