X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=blobdiff_plain;f=includes%2Fchangetags%2FChangeTags.php;h=dd29c100e8ac5214676186940183bbe155082f05;hb=abe264e9b8b360e8bc500f700f4a2ac075438b67;hp=b5bf488acb0895f56a77921c9dff1e25279ece2a;hpb=6704cbe78f5817baff78308ad27145002d40ccec;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/changetags/ChangeTags.php b/includes/changetags/ChangeTags.php index b5bf488acb..dd29c100e8 100644 --- a/includes/changetags/ChangeTags.php +++ b/includes/changetags/ChangeTags.php @@ -201,9 +201,8 @@ class ChangeTags { } $taglessDesc = Sanitizer::stripAllTags( $originalDesc->parse() ); - $escapedDesc = Sanitizer::escapeHtmlAllowEntities( $taglessDesc ); - return $context->getLanguage()->truncateForVisual( $escapedDesc, $length ); + return $context->getLanguage()->truncateForVisual( $taglessDesc, $length ); } /** @@ -1184,7 +1183,7 @@ class ChangeTags { * Extensions should NOT use this function; they can use the ListDefinedTags * hook instead. * - * Includes a call to ChangeTag::canDeleteTag(), so your code doesn't need to + * Includes a call to ChangeTag::canCreateTag(), so your code doesn't need to * do that. * * @param string $tag