summaryrefslogtreecommitdiff
path: root/inc/fulltext.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/fulltext.php')
-rw-r--r--inc/fulltext.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/fulltext.php b/inc/fulltext.php
index be3938cac..0f2414213 100644
--- a/inc/fulltext.php
+++ b/inc/fulltext.php
@@ -304,6 +304,7 @@ function ft_pagesorter($a, $b){
*/
function ft_snippet($id,$highlight){
$text = rawWiki($id);
+ $text = str_replace("\xC2\xAD",'',$text); // remove soft-hyphens
$evdata = array(
'id' => $id,
'text' => &$text,