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

Use sentence-end-double-space to determine sentence separator #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cvdub
Copy link

@cvdub cvdub commented Apr 23, 2023

This PR updates lorem-ipsum to uses the built in variable sentence-end-double-space to determine whether or not to use two spaces for lorem-ipsum-sentence-separator.

This library will continue to function the exact same way for users with default configurations. For users who set sentence-end-double-space to nil, one space will be used between sentences instead of two.

I also bumped the version number in the lorem-ipsum-version constant, since that was still at 0.3. Not sue if you think this change warrants another version bump.

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.

1 participant