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
should be minified like this when removeRedundantAttributes is set to true:
<imgsrc="logo.jpg" alt="Our logo">
I haven't checked, but I suspect there are a lot more default attributes that could be supported but aren't currently. Basically all enumerated attributes according to the spec should have their default value added to the minifier.
Version
7.2.0
What browsers are you seeing the problem on?
No response
Link to reproduce
No response
Relevant log output
No response
Willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered:
What happened?
The default value for the lazy loading attribute of the
<img>
tag is "eager". See the spec.The following htnl:
should be minified like this when
removeRedundantAttributes
is set to true:I haven't checked, but I suspect there are a lot more default attributes that could be supported but aren't currently. Basically all enumerated attributes according to the spec should have their default value added to the minifier.
Version
7.2.0
What browsers are you seeing the problem on?
No response
Link to reproduce
No response
Relevant log output
No response
Willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: