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

Strip angle brackets from author email before passing to template. #6243

Merged
merged 1 commit into from
Nov 1, 2018

Commits on Nov 1, 2018

  1. Strip angle brackets from author email before passing to template.

    Some people already have angle brackets around their email in
    git settings or other author sources. Right now if you create
    a new project the Cargo.toml would render something like:
    
    authors = ["bar <<foo@baz>>"]
    
    instead of
    
    authors = ["bar <foo@baz>"]
    
    This detects the emails that start and end with <> and removes them.
    btashton committed Nov 1, 2018
    Configuration menu
    Copy the full SHA
    7d57948 View commit details
    Browse the repository at this point in the history