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

Convert head[profile] attribute to link[rel=profile] #4193

Merged
merged 5 commits into from
Jan 29, 2020

Commits on Jan 29, 2020

  1. Convert head[profile] attribute to a link[rel=profile]

    Like Weston mentioned, that was invalid HTML5,
    so convert it to a link[rel=profile].
    kienstra committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    0484342 View commit details
    Browse the repository at this point in the history
  2. If there's already a link[rel=profile], don't create another

    For example, Twenty Twenty has a link[rel=profile],
    though it doesn't have a head[profile].
    kienstra committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    7f60c5c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e2b7bf5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2294c6e View commit details
    Browse the repository at this point in the history
  5. If head[profile=], strip profile, but don't create a new link

    Using Weston's suggested code,
    handle this case.
    kienstra committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    6ebae07 View commit details
    Browse the repository at this point in the history