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
CSScomb converts the outermost double quotes into single quotes, resulting in an error in the final parsing of postcss.
postcss-svgo: Error in parsing SVG: Unquoted attribute value
When I exchanged all the single quotes and double quotes in the source string, I found that CSScomb only converted the outermost double quotes into single quotes.
When I finish the adjustment, there is no change before and after formatting, which can be parsed normally.
I think this should be a bug. CSScomb should deal with the problem of both single and double quotation marks in the string, instead of blindly converting the outermost double quotation marks into single quotation marks.
The text was updated successfully, but these errors were encountered:
About the CSScomb configuration item
"quotes": "single"
.The example is as follows:
before:
formatted:
CSScomb converts the outermost double quotes into single quotes, resulting in an error in the final parsing of postcss.
When I exchanged all the single quotes and double quotes in the source string, I found that CSScomb only converted the outermost double quotes into single quotes.
When I finish the adjustment, there is no change before and after formatting, which can be parsed normally.
I think this should be a bug. CSScomb should deal with the problem of both single and double quotation marks in the string, instead of blindly converting the outermost double quotation marks into single quotation marks.
The text was updated successfully, but these errors were encountered: