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

Always capitalize last word in subtitle #222

Open
dstillman opened this issue Mar 13, 2023 · 1 comment
Open

Always capitalize last word in subtitle #222

dstillman opened this issue Mar 13, 2023 · 1 comment

Comments

@dstillman
Copy link
Contributor

https://twitter.com/zotero/status/1635408908947795974

We already capitalize prepositions when they're the last word in a title, but we don't currently do the same when they're the last word before a colon. As our tweet notes, the position isn't really the issue, and we can't reliably fix all cases of this programmatically, but at least for cases where there's a preposition before a colon we can get it right.

@dstillman dstillman changed the title Capitalize last word in subtitle Always capitalize last word in subtitle Mar 13, 2023
@zepinglee
Copy link
Contributor

The current spec say:

In both cases, stop words are lowercased, unless they are the first or last word in the string, or follow a colon.

I guess we should add the case of a word before a colon (or em dash).

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

No branches or pull requests

2 participants