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

Relative multi-line HTML elements #83

Merged
merged 3 commits into from
Feb 24, 2023
Merged

Relative multi-line HTML elements #83

merged 3 commits into from
Feb 24, 2023

Commits on Feb 23, 2023

  1. Relative multi-line HTML elements

    Reintroduces "relative multi-line" indentation to DjHTML:
    
        <long-html-tag
            attribute1="value"
            attribute2="value"
            attribute3="value"/>
    
    However, this only happens when the tag name is followed by a newline.
    Otherwise, "absolute multi-line" indentation will be used:
    
        <long-html-tag attribute1="value"
                       attribute2="value"
                       attribute3="value"/>
    
    This is a good rule, but also the last rule I'm willing to add regarding
    multi-line indentation. Our users deserve a stable set of indentation
    principles, and this is it. No more bikeshedding.
    JaapJoris committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    cff1640 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Address reviewer comments

    JaapJoris committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    bc8523c View commit details
    Browse the repository at this point in the history
  2. Bump version number

    JaapJoris committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    804a543 View commit details
    Browse the repository at this point in the history