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

Allow non-breaking spaces to tie together title blocks in draft creation #626

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

robinwhittleton
Copy link
Member

For example, this allows “Mrs. Seacole” to be entered as “Mrs. Seacole” to be kept on the same line during title generation.

As it stands, this commit changes non-breaking spaces back to normal spaces during the build process, so that they don’t show up in content.opf metadata for example. But that’s easily changed so that they’re retained.

Also, ppannuto/python-titlecase#95 would remove the need for one of the changes, so I’ll remove it if that’s accepted.

For example, this allows “Mrs. Seacole” to be entered as “Mrs. Seacole” to be kept on the same line during title generation.
@acabal acabal merged commit 1d71187 into master Dec 26, 2023
2 checks passed
@acabal
Copy link
Member

acabal commented Dec 26, 2023

Thanks!

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.

2 participants