X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FCoreTagHooks.php;h=d17860078112b2c91ce6773bfcc552c9ef2bea0a;hb=03293f1f693d9acb4c6b00a50fedfcaac4b51a91;hp=438603a84165bfdc94f92becef983d004f827130;hpb=55043101b2a89ea1e811b6d35e415f57ed0bf41d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/CoreTagHooks.php b/includes/parser/CoreTagHooks.php index 438603a841..d178600781 100644 --- a/includes/parser/CoreTagHooks.php +++ b/includes/parser/CoreTagHooks.php @@ -46,6 +46,10 @@ class CoreTagHooks { * Text is treated roughly as 'nowiki' wrapped in an HTML 'pre' tag; * valid HTML attributes are passed on. * + * Uses custom html escaping which phan-taint-check won't recognize + * hence we suppress the error. + * @suppress SecurityCheck-XSS + * * @param string $text * @param array $attribs * @param Parser $parser @@ -75,6 +79,7 @@ class CoreTagHooks { * * Uses undocumented extended tag hook return values, introduced in r61913. * + * @suppress SecurityCheck-XSS * @param string $content * @param array $attributes * @param Parser $parser @@ -110,6 +115,10 @@ class CoreTagHooks { * * Uses undocumented extended tag hook return values, introduced in r61913. * + * Uses custom html escaping which phan-taint-check won't recognize + * hence we suppress the error. + * @suppress SecurityCheck-XSS + * * @param string $content * @param array $attributes * @param Parser $parser