mirror of
https://github.com/getgrav/grav.git
synced 2026-02-04 22:00:13 +01:00
Properly convert comma to spaces for multiple attributes #518
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user