batches: ensure .gitconfig email is properly inserted in batch spec
Created by: BolajiOlajide
In src-cli
, we use the html/template library to substitute values, however, characters like +
gets converted to it's unicode equivalent &043;
Test plan
- Enable email privacy on your Github account.
- Set your github-private email address in your global config with the command
git config --global add user.email <private_email_address>
- Create a batch spec with the command
src batch new -f batch.spec.yml
- The email address should be inserted into the template as plain text instead of unicode.