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 was archived by the owner on Feb 1, 2020. It is now read-only.
Behavior:
The PurgeCSS plugin 'minifies' img[src=''] to img[src] for whatever reason. This breaks functionality, as the latter matches every img element with a src attribute. The first one only empty ones.
Expected: img[src=''] stays the way it is.
However, this only happens, when the CSS is minified beforehand (with csso/clean-css/cssnano) (if I remove the minifier, this issue is gone, however if I only turn on the minifier without PurgeCSS, the issue is gone too - so PurgeCSS is faulty)
The text was updated successfully, but these errors were encountered:
version: 1.3.1
Behavior:
The PurgeCSS plugin 'minifies'
img[src='']
toimg[src]
for whatever reason. This breaks functionality, as the latter matches every img element with a src attribute. The first one only empty ones.Expected:
img[src='']
stays the way it is.However, this only happens, when the CSS is minified beforehand (with csso/clean-css/cssnano) (if I remove the minifier, this issue is gone, however if I only turn on the minifier without PurgeCSS, the issue is gone too - so PurgeCSS is faulty)
The text was updated successfully, but these errors were encountered: