Commit 25ee76df authored by anon's avatar anon

by Marty2081, anon: Fixed output of entity title.

parent c3629422
......@@ -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));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment