Skip to content

Commit

Permalink
Fix double encoding of from data
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Apr 4, 2014
1 parent bb57d2b commit ea41bf4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions imp/js/dimpbase.js
Expand Up @@ -439,13 +439,6 @@ var DimpBase = {
thread = $H(this.viewport.getMetaData('thread')),
tsort = this.isThreadSort();

/* HTML escape the date, from, and size entries. */
[ 'date', 'from', 'size' ].each(function(i) {
if (r[i]) {
r[i] = r[i].escapeHTML();
}
});

r.status = r.subjectdata = '';

// Add thread graphics
Expand Down Expand Up @@ -492,7 +485,7 @@ var DimpBase = {
r.style = 'background:' + bg;
}

[ 'from', 'subject' ].each(function(h) {
[ 'date', 'from', 'size', 'subject' ].each(function(h) {
if (r[h] === null) {
// If these fields are null, invalid string was
// scrubbed by JSON encode.
Expand Down

0 comments on commit ea41bf4

Please sign in to comment.