[FIX] Problem with attachment render (#19854)

pull/19983/head
Martin Schoeler 5 years ago committed by Diego Sampaio
parent f2c957a657
commit 6884a63bdf
  1. 2
      app/message-attachments/client/renderField.js

@ -53,6 +53,6 @@ Template.renderField.helpers({
// consider the value already formatted as html
html = escapeHTML(field.value);
}
return `<div class="${ field.type }">${ html }</div>`;
return `<div class="${ escapeHTML(field.type) }">${ html }</div>`;
},
});

Loading…
Cancel
Save