dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ChangeTag::createTagWithChecks calls ChangeTag::canCreateTag()
[lhc/web/wiklou.git]
/
includes
/
changetags
/
ChangeTags.php
diff --git
a/includes/changetags/ChangeTags.php
b/includes/changetags/ChangeTags.php
index
b5bf488
..
dd29c10
100644
(file)
--- a/
includes/changetags/ChangeTags.php
+++ b/
includes/changetags/ChangeTags.php
@@
-201,9
+201,8
@@
class ChangeTags {
}
$taglessDesc = Sanitizer::stripAllTags( $originalDesc->parse() );
}
$taglessDesc = Sanitizer::stripAllTags( $originalDesc->parse() );
- $escapedDesc = Sanitizer::escapeHtmlAllowEntities( $taglessDesc );
- return $context->getLanguage()->truncateForVisual( $
escaped
Desc, $length );
+ return $context->getLanguage()->truncateForVisual( $
tagless
Desc, $length );
}
/**
}
/**
@@
-1184,7
+1183,7
@@
class ChangeTags {
* Extensions should NOT use this function; they can use the ListDefinedTags
* hook instead.
*
* Extensions should NOT use this function; they can use the ListDefinedTags
* hook instead.
*
- * Includes a call to ChangeTag::can
Dele
teTag(), so your code doesn't need to
+ * Includes a call to ChangeTag::can
Crea
teTag(), so your code doesn't need to
* do that.
*
* @param string $tag
* do that.
*
* @param string $tag