We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbf6f9e commit 091c051Copy full SHA for 091c051
src/Svg/Style.php
@@ -2,7 +2,7 @@
2
/**
3
* @package php-svg-lib
4
* @link http://github.com/PhenX/php-svg-lib
5
- * @author Fabien Ménager <fabien.menager@gmail.com>
+ * @author Fabien M�nager <fabien.menager@gmail.com>
6
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7
*/
8
@@ -173,7 +173,7 @@ static function parseColor($color)
173
{
174
$color = strtolower(trim($color));
175
176
- $parts = preg_split('/\s+/', $color, 2);
+ $parts = preg_split('/[^,]\s+/', $color, 2);
177
178
if (count($parts) == 2) {
179
$color = $parts[1];
0 commit comments