Merge pull request #7730 from annando/tabs

Strings.php: Spaces are transformed to Tabs
This commit is contained in:
Philipp 2019-10-12 20:26:16 +02:00 committed by GitHub
commit e176f010ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 343 additions and 345 deletions

View file

@ -332,7 +332,6 @@ class Strings
return (strcasecmp(self::normaliseLink($a), self::normaliseLink($b)) === 0);
}
/**
* Ensures the provided URI has its query string punctuation in order.
*
@ -348,7 +347,6 @@ class Strings
return $uri;
}
/**
* Check if the trimmed provided string is starting with one of the provided characters
*

View file

@ -78,7 +78,7 @@ class StringsTest extends TestCase
$this->assertEquals('[submit type="button" onclick="alert(\'failed!\');" /]', $validstring);
$this->assertEquals(
'<submit type="button" onclick="alert('failed!');" />',
"<submit type="button" onclick="alert('failed!');" />",
$escapedString
);
}