Properly convert comma to spaces for multiple attributes #518

This commit is contained in:
Andy Miller
2015-12-14 18:30:55 -07:00
parent ec7dbbdc8b
commit d8a993bc86

View File

@@ -230,7 +230,7 @@ trait ParsedownGravTrait
if ($attrib == 'classes') {
$attrib = 'class';
}
$excerpt['element']['attributes'][$attrib] = $value;
$excerpt['element']['attributes'][$attrib] = str_replace(',', ' ', $value);
unset($actions[$key]);
}
}