-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
fix: 🐛 support element that has newline replace to \n (#1440) #1442
Conversation
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.
Thanks for the quick PR!
While the code seems reasonable to me, this does not fix how the text is displayed in the application source tree. I think a proper fix might require changes in the xmlToJSON
method instead.
(edit: I would also call this a fix rather than a feature, since the XML is correct, but the Inspector GUI is not)
@eglitise I was changed in |
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.
Thank you!
thanks @miwtoo ! |
* feat: ✨ support element that has newline replace to \n (appium#1440) * style: 🚨 fix style (appium#1440) * refactor: ♻️ move Regex part to more reuseable * fix: 🐛 Inspector GUI is not newline not show correctly * fix: 🔥 getback comment * fix: 🚨 fix lint * fix: 💬 no extra spacing * fix: 🗑️ remove unuse regex character * refactor: ♻️ clean unuse attributes in test * refactor: ♻️ remove more unuse in test hierarchy attributes
I created a pull request for feature request #1440. I would appreciate if you could please review it and provide any suggestions.
Change
Before