Fix error message belong to issue #7912#8741
Merged
Merged
Conversation
Member
|
@gladiator-1 Please pull main. |
parasharrajat
suggested changes
Apr 21, 2022
Comment on lines
+94
to
+95
| // eslint-disable-next-line no-param-reassign | ||
| dom.data = Str.htmlEncode(dom.data); |
Member
There was a problem hiding this comment.
instead of directly modifying the data pass it in the return value.
Contributor
Author
There was a problem hiding this comment.
Sorry, I couldn't catch what you need, Could you please explain ?
Member
There was a problem hiding this comment.
I mean that instead of doing it(violation of rules).
can we do this?
const data = Str.htmlEncode(dom.data);
....
return {
....dom,
data,
};
Member
|
Change the QA steps to:
|
parasharrajat
approved these changes
Apr 28, 2022
marcaaron
approved these changes
Apr 28, 2022
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Contributor
|
🚀 Cherry-picked to staging by @sketchydroide in version: 1.1.57-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
This was referenced May 12, 2022
Contributor
|
🚀 Deployed to production by @chiragsalian in version: 1.1.57-17 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
Allow Copying and Pasting HTML tags or text between '<>'
Fixed Issues
$ #7912
Tests
Sentence with <Code/> in it.F12if you are using chrome or firefox browser and select theconsoletab to verify there is no error messages.Sentence with <Code/> in itin the text input.Sentence with <Code/> in it.PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followed/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)QA Steps
Sentence with <Code/> in it.F12if you are using chrome or firefox browser and select theconsoletab to verify there is no error messages.Sentence with <Code/> in itin the text input.Sentence with <Code/> in it.Screenshots
Web
web.mp4
Mobile Web
mobile.web.mp4
Desktop
desktop.mp4
iOS
ios.mp4
Android
android.mp4