diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartDisplay.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartDisplay.js index 6a1413a22..493c1ea1f 100644 --- a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartDisplay.js +++ b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartDisplay.js @@ -175,11 +175,7 @@ Ext.define('PartKeepr.PartDisplay', { for (var i in this.fieldConfigs) { value = this.record.get(i); if (value !== undefined) { - if (typeof(value === "string")) { - values[i] = htmlentities(value); // phpjs - } else { - values[i] = value; - } + values[i] = value; } else { values[i] = i18n("none"); }