mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
entity render: options, html classes, corrections
note: span.chill-entity tag is replaced by section.chill-entity tag. because some cases are not valid html : * span.chill-entity > div * span.badge > div.chill-entity
This commit is contained in:
@@ -28,11 +28,11 @@ abstract class AbstractChillEntityRender implements ChillEntityRenderInterface
|
||||
{
|
||||
protected function getDefaultOpeningBox($classSuffix): string
|
||||
{
|
||||
return '<span class="chill-entity chill-entity__'.$classSuffix.'">';
|
||||
return '<section class="chill-entity entity-'.$classSuffix.'">';
|
||||
}
|
||||
|
||||
protected function getDefaultClosingBox(): string
|
||||
{
|
||||
return '</span>';
|
||||
return '</section>';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user