fix: trim only when necessary if trimming is off#394
fix: trim only when necessary if trimming is off#394remarkablemark merged 9 commits intoremarkablemark:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #394 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 8 8
Lines 158 162 +4
Branches 55 54 -1
=========================================
+ Hits 158 162 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Thank you! I've resolved the ones I've fixed and replied to your other comments |
remarkablemark
left a comment
There was a problem hiding this comment.
Looks good! Will you be updating docs @vidhu?
Yes! Just pushed out a commit to update the docs. |
f5af355 to
4126592
Compare
|
Thank you @remarkablemark I've addressed your requested changes |
remarkablemark
left a comment
There was a problem hiding this comment.
Thanks, looks good @vidhu!
|
Released in #395 (comment) |
|
Thank you! Pleasure working with you :) |
|
Same here! @vidhu If you're ever interested in being a maintainer for |
|
Thank you. I would be interested in that. Do you use any instant messaging platform like discord? |
|
Yes! We have a Discord server, feel free to DM me once you join |
Fixes #384
What is the motivation for this pull request?
Fixes an issue #384 where trimming can lead to inaccurate parsing when nodes have whitespace characters
What is the current behavior?
What is the new behavior?
Regardless of the trimming setting, if a text node appears in a node that can contain text nodes eg
<table>,<tr>, it will be removed. If trimming is off, then whitespaces are preserved in nodes that can contain text nodes.Checklist:
Looking for approvals before I add to documentation!