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
<drop
css:if-not-content="body.frontend"
css:content='head link[data-bundle="plone-legacy"], head script[data-bundle="plone-legacy"]' />
seems to be applied like this (simplifying a bit for clarity):
drop link OR (script IF NOT body.frontend)
instead of:
drop (link OR script) IF NOT body.frontend
I'm not sure if it's because of the square bracket selectors in the css:content. Probably not, because any attribute selection would result in square brackets in the match expression.
This rule:
seems to be applied like this (simplifying a bit for clarity):
drop link OR (script IF NOT body.frontend)
instead of:
drop (link OR script) IF NOT body.frontend
I'm not sure if it's because of the square bracket selectors in the
css:content
. Probably not, because any attribute selection would result in square brackets in thematch
expression.The
diazocompiler
output:By contrast, if I split the above
drop
rule into two, one forlink
and one forscript
, it works, and the output is:The text was updated successfully, but these errors were encountered: