Commit fa9625b1 authored by lphuberdeau's avatar lphuberdeau

[FIX] CODE blocks and HTML blocks could cause page breakages when presenting search results

parent 489ef2f8
......@@ -9,7 +9,7 @@ class Search_Elastic_ResultSet extends Search_ResultSet
function highlight($content)
return $content['_highlight'];
return strip_tags($content['_highlight'], '<em>');
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment