forked from beautifier/js-beautify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support SASS nested pseudo-classes and parent reference
JavaScript: css beautifier checks if the colon it encounters is part of a property: value or part of a nested pseudo-class/ parent reference. In case of nested pseudo-class or parent reference it does not output a space after the colon. Added general test for parent reference, nested pseudo-class and SASS import statement. Added special test for issues beautifier#410 and beautifier#414. Python: Best effort to support parent reference and nested pseudo-class. When it encounters a colon it checks if the colon is part of a property: value or part of parent reference/nested pseudo-class. In case of parent reference/nested pseudo-class it does not output a space after the colon. Added tests for reference/nested pseudo-class. Add tests for issues beautifier#410, beautifier#414 Fixes issues beautifier#410 and beautifier#414 Related to issue beautifier#356
- Loading branch information
Showing
4 changed files
with
110 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters