diff --git a/composer.json b/composer.json index 24b33a6..7368173 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ }, "require-dev": { "mediawiki/mediawiki-codesniffer": "33.0.0", - "mediawiki/mediawiki-phan-config": "0.10.3", + "mediawiki/mediawiki-phan-config": "0.10.4", "mediawiki/minus-x": "1.1.0", "php-parallel-lint/php-console-highlighter": "0.5.0", "php-parallel-lint/php-parallel-lint": "1.2.0" diff --git a/includes/ImageMap.php b/includes/ImageMap.php index a61918a..35d12a1 100644 --- a/includes/ImageMap.php +++ b/includes/ImageMap.php @@ -262,6 +262,7 @@ class ImageMap { if ( $shape === 'default' ) { $defaultLinkAttribs = $attribs; } else { + // @phan-suppress-next-line SecurityCheck-DoubleEscaped $mapHTML .= Xml::element( 'area', $attribs ) . "\n"; } if ( $externLink ) {