Skip to content

New Rules added to HTML to markdown parsing [bold, italic, Strikethrough]#392

Merged
Jag96 merged 2 commits into
Expensify:masterfrom
parasharrajat:html-md
Jul 13, 2021
Merged

New Rules added to HTML to markdown parsing [bold, italic, Strikethrough]#392
Jag96 merged 2 commits into
Expensify:masterfrom
parasharrajat:html-md

Conversation

@parasharrajat

Copy link
Copy Markdown
Member

@Jag96 Will you please review this?

[Explanation of the change or anything fishy that is going on]

  1. Added more rules to our ExpensiMark HTML to Markdown parser.
  2. Created a Separate text file for HTML to Markdown parser.
  3. Added a couple of tests.

Fixed Issues

$ Expensify/App#3970

Tests

  1. What unit/integration tests cover your change? What autoQA tests cover your change?
    Covered with Jest Unit tests

  2. What tests did you perform that validates your changed worked?
    I used the changes here to E.cash repo to try pasting HTML strings in Composer

QA

  1. What does QA need to do to validate your changes?
    After these changes are merged to E.cash, you can try copy-pasting formatted String to Composer. Otherwise, add more unit Tests and test them.

  2. What areas do they need to test for regressions?
    Check HTML to markdown parsing of Expensimark

@parasharrajat parasharrajat requested a review from a team as a code owner July 10, 2021 10:15
@MelvinBot MelvinBot requested review from timszot and removed request for a team July 10, 2021 10:15

@timszot timszot 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.

These look great to me! Leaving for final review and merge from @Jag96

@Jag96 Jag96 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.

LGTM

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