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

Period inside quote marks fails with multiword title #5

Open
wilwade opened this issue Aug 11, 2017 · 0 comments
Open

Period inside quote marks fails with multiword title #5

wilwade opened this issue Aug 11, 2017 · 0 comments

Comments

@wilwade
Copy link

wilwade commented Aug 11, 2017

Here is the example text that fails to break on the period inside of the quote marks. Not entirely sure why, but thought I would drop the example in in case I or others have a chance to look into it.

Scalpel.cut('The title is "London by the Sea." This is a sentence.')
=> ["The title is \"London by the Sea.\" This is a sentence."]

Without that Sea it does work:

Scalpel.cut('The title is "London by the." This is a sentence.')
=> ["The title is \"London by the.\"", "This is a sentence."]
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

1 participant