Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support nested pseudo-classes and parent reference (LESS) #427

Closed
wants to merge 1 commit into from

Commits on Mar 18, 2014

  1. 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
    nponiros committed Mar 18, 2014
    Configuration menu
    Copy the full SHA
    7124c1e View commit details
    Browse the repository at this point in the history