Skip to content

Commit a70ef13

Browse files
committed
Fix missing encoding of the like description
1 parent 8fd29e9 commit a70ef13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wcfsetup/install/files/lib/data/article/LikeableArticleProvider.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function prepare(array $likes)
8484
$like->setTitle($text);
8585

8686
// output
87-
$like->setDescription($article->getTeaser());
87+
$like->setDescription(StringUtil::encodeHTML($article->getTeaser()));
8888
}
8989
}
9090
}

0 commit comments

Comments
 (0)