Open Defcon0 opened 6 years ago
Hello,
at first thanks for the great plugin you've put together!!
I found an issue in StylesheetTagRenderer.php. Currently in that file we have:
return $this->getTagRenderer()->render( 'style', $formatter->renderLines([ $name.$formatter->renderSeparator().'{', $formatter->renderIndentation($formatter->renderLines($tagStylesheets, true, false)), '}', ], !empty($tagStylesheets), false), array_merge(['type' => 'test/css'], $attributes), $newLine );
But it needs to be
return $this->getTagRenderer()->render( 'style', $formatter->renderLines([ $name.$formatter->renderSeparator().'{', $formatter->renderIndentation($formatter->renderLines($tagStylesheets, true, false)), '}', ], !empty($tagStylesheets), false), array_merge(['type' => 'text/css'], $attributes), $newLine );
The type of the style element is 'type' => 'test/css' but it needs to be 'type' => 'text/css'.
'type' => 'test/css'
'type' => 'text/css'
Thanks in advance for fixing this ;-)
Bye Defcon0
Hello,
at first thanks for the great plugin you've put together!!
I found an issue in StylesheetTagRenderer.php. Currently in that file we have:
But it needs to be
The type of the style element is
'type' => 'test/css'
but it needs to be'type' => 'text/css'
.Thanks in advance for fixing this ;-)
Bye Defcon0