Skip to content

Commit 30a4c09

Browse files
strip tags from ocr
1 parent c6b7065 commit 30a4c09

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

themes/default/view/search/resource.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ endif;
128128
$text = str_replace(array("-\r", "-\n"), '', $text);
129129
$text = str_replace(array("\r", "\n"), ' ', $text);
130130
$text = str_replace(" ", ' ', $text);
131+
$text = strip_tags($text);
131132
endif;
132133

133134
if($text):

0 commit comments

Comments
 (0)