Open Issues Need Help
View All on GitHubAI Summary: The task is to determine why the `convertStyleToAttrs` plugin in SVGO (SVG Optimizer) is not behaving as expected. It appears to be enabled by default according to `svgo --show-plugins`, but testing shows it's not. The solution involves either correcting the plugin's default enabled state or updating the `--show-plugins` output to accurately reflect its disabled status.
⚙️ Node.js tool for optimizing SVG files
AI Summary: Improve the `includesAttrSelector` helper function in the SVGO Node.js library to accurately check for attribute matches in CSS selectors, considering the equality operator used (e.g., `^`, `$`, `=`). This involves modifying the function's logic to perform a proper comparison between the attribute value and the selector's value, rather than just checking for the attribute's presence. The goal is to prevent unnecessary attribute preservation when the CSS selector doesn't actually match the attribute value.
⚙️ Node.js tool for optimizing SVG files