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
I was testing it in Auto Detect mode, in which case it produces the above issue.
It looks like it is assuming the code to be JavaScript, because setting that mode explicitly shows the broken formatting.
After updating my extension to js-beautify 1.8.6, this issue is fixed for CSS input (guess the /-bug was at fault).
Sorry for not testing this earlier, I thought being able to reproduce on the website could save me that step.
This only leaves the "broken" auto-detection on the website.
Feel free to close or rename this issue.
Description
When formatting CSS with a
url()
attribute value, a space is inserted after the protocol of an unquoted URL value.Reported as brackets-beautify/brackets-beautify#270.
Input
The code looked like this before beautification:
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
Steps to Reproduce
Reproducable on https://beautifier.io/ with default settings.
The text was updated successfully, but these errors were encountered: