The parsing used to determine the critical styles that should be inlined into the rendered output at build time is very basic and does not work with classnames that include : as everything after and including the first colon is removed (assumed a pseudo selector like hover or before etc). Also the parsing does not cater for >:not( or :~not( as it leaves the leading character such that the classes will not match any of the classes in the rendered output.
Bug
The parsing used to determine the critical styles that should be inlined into the rendered output at build time is very basic and does not work with classnames that include
:
as everything after and including the first colon is removed (assumed a pseudo selector likehover
orbefore
etc). Also the parsing does not cater for>:not(
or:~not(
as it leaves the leading character such that the classes will not match any of the classes in the rendered output.