You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
It looks like the inline style definition is not correctly printed by HeadStyle view helper.
Considering the following one:
The whole block will be commented out.
I tried disabling auto escaper but escaping is hardcoded into HeadStyle implementation.
Actually, after a deep look in the code, I don't get why CSS content is always commented via
<!-- -->
:[0]
$escapeStart and $escapeEnd can be null only for conditional CSS which is not a regular use case.
The examples from documentation are giving me similar commented output. [1]
[0] https://github.com/zendframework/zend-view/blob/master/src/Helper/HeadStyle.php#L328
[1] https://docs.zendframework.com/zend-view/helpers/head-style/#capturing-style-declarations
The text was updated successfully, but these errors were encountered: