fixed html encoding for static diff.