Commit 5a4a2778 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Run clean_html over summaries in portfolio self search results


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 2c4bdd21
...@@ -701,6 +701,7 @@ class PluginSearchInternal extends PluginSearch { ...@@ -701,6 +701,7 @@ class PluginSearchInternal extends PluginSearch {
else { else {
$newresult['summary'] = $newresult['description']; $newresult['summary'] = $newresult['description'];
} }
$newresult['summary'] = clean_html($newresult['summary']);
$result = $newresult; $result = $newresult;
} }
......
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