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 "Remove wrong type from @param of Language::viewPrevNext"
[lhc/web/wiklou.git]
/
tests
/
qunit
/
data
/
styleTest.css.php
diff --git
a/tests/qunit/data/styleTest.css.php
b/tests/qunit/data/styleTest.css.php
index
093c71f
..
0e84581
100644
(file)
--- a/
tests/qunit/data/styleTest.css.php
+++ b/
tests/qunit/data/styleTest.css.php
@@
-25,14
+25,15
@@
header( 'Content-Type: text/css; charset=utf-8' );
/**
header( 'Content-Type: text/css; charset=utf-8' );
/**
- * Allows characters in ranges [a-z], [A-Z], [0-9] as well as a dot ("."), dash ("-") and hash ("#").
+ * Allows characters in ranges [a-z], [A-Z] and [0-9],
+ * in addition to a dot ("."), dash ("-"), space (" ") and hash ("#").
* @since 1.20
*
* @since 1.20
*
- * @param
$val string
- * @return string
: input with illigal characters removed
+ * @param
string $val
+ * @return string
Value with any illegal characters removed.
*/
function cssfilter( $val ) {
*/
function cssfilter( $val ) {
- return preg_replace( '/[^A-Za-z0-9\.\-#]/', '', $val );
+ return preg_replace( '/[^A-Za-z0-9\.\-
#]/', '', $val );
}
// Do basic sanitization
}
// Do basic sanitization
@@
-46,9
+47,9
@@
$wait = isset( $params['wait'] ) ? (int)$params['wait'] : 0; // seconds
sleep( $wait );
sleep( $wait );
-$css =
"
+$css = "
/**
/**
- * Generated " . gmdate( 'r' ) .
".
+ * Generated " . gmdate( 'r' ) . ".
* Waited {$wait}s.
*/
* Waited {$wait}s.
*/