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
Merge "copyedit patch-parsercache.sql comment"
[lhc/web/wiklou.git]
/
includes
/
parser
/
CoreTagHooks.php
diff --git
a/includes/parser/CoreTagHooks.php
b/includes/parser/CoreTagHooks.php
index
438603a
..
d178600
100644
(file)
--- 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.
*
* 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
* @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.
*
*
* Uses undocumented extended tag hook return values, introduced in r61913.
*
+ * @suppress SecurityCheck-XSS
* @param string $content
* @param array $attributes
* @param Parser $parser
* @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 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
* @param string $content
* @param array $attributes
* @param Parser $parser