Skip to content
Snippets Groups Projects
Commit 25ee76df authored by Emil Stjerneman's avatar Emil Stjerneman
Browse files

by Marty2081, anon: Fixed output of entity title.

parent c3629422
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ class LinkitPluginEntity extends LinkitPlugin { ...@@ -75,7 +75,7 @@ class LinkitPluginEntity extends LinkitPlugin {
* Build the label that will be used in the search result for each row. * Build the label that will be used in the search result for each row.
*/ */
function buildLabel($entity) { function buildLabel($entity) {
return entity_label($this->plugin['entity_type'], $entity); return check_plain(entity_label($this->plugin['entity_type'], $entity));
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment