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 "Miscellaneous indentation tweaks"
[lhc/web/wiklou.git]
/
includes
/
Sanitizer.php
diff --git
a/includes/Sanitizer.php
b/includes/Sanitizer.php
index
4c245a5
..
5f6abee
100644
(file)
--- a/
includes/Sanitizer.php
+++ b/
includes/Sanitizer.php
@@
-344,12
+344,12
@@
class Sanitizer {
$space = '[\x09\x0a\x0c\x0d\x20]';
self::$attribsRegex =
"/(?:^|$space)({$attribFirst}{$attrib}*)
$space = '[\x09\x0a\x0c\x0d\x20]';
self::$attribsRegex =
"/(?:^|$space)({$attribFirst}{$attrib}*)
- ($space*=$space*
+
($space*=$space*
(?:
(?:
- # The attribute value: quoted or alone
- \"([^\"]*)(?:\"|\$)
- | '([^']*)(?:'|\$)
-
|
(((?!$space|>).)*)
+
# The attribute value: quoted or alone
+
\"([^\"]*)(?:\"|\$)
+
| '([^']*)(?:'|\$)
+
|
(((?!$space|>).)*)
)
)?(?=$space|\$)/sx";
}
)
)?(?=$space|\$)/sx";
}