Commit d284f363 authored by anon's avatar anon

by Marty2081, anon: Fixed output of entity title.

parent 77e4f16d
......@@ -97,7 +97,7 @@ class LinkitSearchPluginEntity extends LinkitSearchPlugin {
* The entity label, or FALSE if not found.
*/
function createLabel($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