diff --git a/plugins/linkit_plugins/linkit-plugin-entity.class.php b/plugins/linkit_plugins/linkit-plugin-entity.class.php index 3e80b0e29b7bf26a11fd319cc96122e9a495d34b..b9fb62f892d1f4c70ea4f91dc4f16708c6e04de6 100644 --- a/plugins/linkit_plugins/linkit-plugin-entity.class.php +++ b/plugins/linkit_plugins/linkit-plugin-entity.class.php @@ -75,7 +75,7 @@ class LinkitPluginEntity extends LinkitPlugin { * Build the label that will be used in the search result for each row. */ function buildLabel($entity) { - return entity_label($this->plugin['entity_type'], $entity); + return check_plain(entity_label($this->plugin['entity_type'], $entity)); } /**