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

Avoid writing empty <movement-title /> and <creator /> tags when title and author have no defaults #1248

Merged
merged 3 commits into from
May 13, 2022

Conversation

jacobtylerwalls
Copy link
Member

@jacobtylerwalls jacobtylerwalls commented Mar 9, 2022

Remove title and author defaults, and avoid writing empty tags for <movement-title /> and <creator />.

Avoid writing empty tags for movement-title and creator
@coveralls
Copy link

coveralls commented Mar 9, 2022

Coverage Status

Coverage increased (+0.06%) to 93.32% when pulling 1fcd518 on jacobtylerwalls:empty-defaults into db9fcb7 on cuthbertLab:master.

@mscuthbert
Copy link
Member

I'm going to merge this right after releasing 7.3 -- it'll be a v8 feature.

@mscuthbert
Copy link
Member

Not sure about the merge looking more -- is there a way to make these optional without removing a m21 style that has been around since v0.1? It is in one sense a small change, but also a huge one that removes the branding of the system which has persisted over 16 years.

@jacobtylerwalls
Copy link
Member Author

No worries, let's leave the branding in. I'll update this to just accomplish the functional change of not writing empty tags when someone opts-in to empty defaults.

@jacobtylerwalls jacobtylerwalls marked this pull request as draft April 19, 2022 13:13
@jacobtylerwalls jacobtylerwalls changed the title Remove title and author defaults Avoid writing empty <movement-title /> and <creator />` tags when title and author have no defaults Apr 19, 2022
@jacobtylerwalls jacobtylerwalls changed the title Avoid writing empty <movement-title /> and <creator />` tags when title and author have no defaults Avoid writing empty <movement-title /> and <creator /> tags when title and author have no defaults Apr 19, 2022
@jacobtylerwalls jacobtylerwalls marked this pull request as ready for review April 19, 2022 22:36
@mscuthbert mscuthbert merged commit 486b6cd into cuthbertLab:master May 13, 2022
@jacobtylerwalls jacobtylerwalls deleted the empty-defaults branch May 13, 2022 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants