Don't show add diffs for uncommitted changes, and improve html escaping