Skip to content

Added unescape to htmlToText#538

Merged
srikarparsi merged 2 commits into
Expensify:mainfrom
alitoshmatov:unescape-in-html-to-text
May 18, 2023
Merged

Added unescape to htmlToText#538
srikarparsi merged 2 commits into
Expensify:mainfrom
alitoshmatov:unescape-in-html-to-text

Conversation

@alitoshmatov

Copy link
Copy Markdown
Contributor

Added _.unescape to htmlToText method, because we are escaping in replace

Fixed Issues

$ Expensify/App#17658

Tests

  1. What unit/integration tests cover your change? What autoQA tests cover your change?
    In Expensimark-test.js file, text named Test text is unescaped

  2. What tests did you perform that validates your changed worked?
    Checked if string is unescaped and character codes are turning back into characters

QA

  1. What does QA need to do to validate your changes?
    Run the new test cases
  2. What areas to they need to test for regressions?
    Check if character codes are turned back into charecters in htmlToText method. & ->&

@alitoshmatov alitoshmatov requested a review from a team as a code owner May 17, 2023 23:04
@github-actions

github-actions Bot commented May 17, 2023

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@alitoshmatov

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@srikarparsi srikarparsi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@srikarparsi srikarparsi merged commit 92088df into Expensify:main May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants