-
Notifications
You must be signed in to change notification settings - Fork 78
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
Process the tail text only after child elements (#333) #520
Conversation
Codecov Report
@@ Coverage Diff @@
## master #520 +/- ##
==========================================
+ Coverage 85.81% 85.84% +0.03%
==========================================
Files 90 90
Lines 4582 4593 +11
Branches 852 857 +5
==========================================
+ Hits 3932 3943 +11
Misses 467 467
Partials 183 183
Flags with carried forward coverage won't be shown. Click here to find out more.
|
# Check if the tail text is processed after inner elements (#333) | ||
assert [sent.text for sent in doc.sentences[14:18]] == [ | ||
"italics and later", | ||
"bold", | ||
".", | ||
"Even", | ||
] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sure that tail text is parsed after child elements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
You'll need to resolve the conflict, though.
@lukehsiao thanks for your review. Please merge once the tests finish. |
Description of the problems or issues
Is your pull request related to a problem? Please describe.
See #333
Does your pull request fix any issue.
Fix #333
Description of the proposed changes
Process the tail text only after child elements
Test plan
A clear and concise description of how you test the new changes.
Checklist