Closed joaoprp closed 10 years ago
Thanks @joaoprp
Please update changelog and tag a version
I am afraid this is not correct and no tests are added actually.
For example, this test fails.
$dataURI = DataURI\Parser::parse($tests[4]);
$this->assertEquals('image/svg+xml', $dataURI->getMimeType());
Parser parses image/svg+xml
as image/svg
.
...such as the ones in the test)
Following everything who I've read in the other pull request, adding the tests and adding an extra character (the plus sign), who allows to parse svg docs as well (image/svg+xml).