-
Notifications
You must be signed in to change notification settings - Fork 164
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
chore: added new parameter to control the xml parsing #687
base: master
Are you sure you want to change the base?
Conversation
Added new boolean parameter "textTrim" to options object in XMLHandler constructor. This new parameter is used in p.ontext method. The default value is true for backward compatibility. Signed-off-by: Apkovy <[email protected]>
Signed-off-by: Apkovy <[email protected]>
Only one missing star in param comment. No fix, no functionality change. Signed-off-by: Apkovy <[email protected]>
@Apkovy, thanks for the PR. Could you please add tests around your changes? Thanks. |
@Apkovy, thanks for your contribution. Your changes look reasonable to me. Could you please add tests for the changes? Thanks. |
Pull Request Test Coverage Report for Build 7759625940Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Signed-off-by: Apkovy <[email protected]>
@dhmlau Thank you. I created the tests and all jobs passed in the run for the branch trim-text. Am I supposed to do anything else? |
hm.. I don't think I see the tests added, but saw there's a new main.yml file which doesn't seem to be related to the change. Maybe there's some changes you haven't pushed yet? |
Description
New parameter "trimText" in XMLHandler constructor, which is used in p.ontext method to allow or prevent trimming the text value.
Related issues
#610