Skip to content

[Due for payment 2025-09-19] Expense - Description with mark down shows HTML tags in description selection #68170

Closed

Description

@mitarachim

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.1.91-0
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from TestRail: #65596
Email or phone of affected tester (no customers): jsdknjsoisd@gmail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Money Requests

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Submit two expenses with description that has mark down to the workspace.
  4. Open expense report.
  5. Open one of the expenses.
  6. Click More > Merge.
  7. Select the expense > Next.
  8. Scroll down to description.

Expected Result:

The description will not show HTML tags.

Actual Result:

The description shows HTML tags.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6910999_1754620670422.20250808_103433.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @OfstadC

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    DeployBlocker
    on Aug 8, 2025
  2. melvin-bot commented on Aug 8, 2025

    @melvin-bot

    Triggered auto assignment to @OfstadC (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. melvin-bot commented on Aug 8, 2025

    @melvin-bot

    Triggered auto assignment to @jasperhuangg (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. melvin-bot commented on Aug 8, 2025

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. github-actions commented on Aug 8, 2025

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. dominictb commented on Aug 8, 2025

    @dominictb
    Contributor

    Hmm let's just parse the HTML to text like we did in ReviewDescription:

    text: StringUtils.lineBreaksToSpaces(Parser.htmlToText(description.comment)),

    cc @hoangzinh

  7. PiyushChandra17 commented on Aug 8, 2025

    @PiyushChandra17
    Contributor

    @dominictb I think i have worked on this issue before, we need to parse HTML to markdown => Parser.htmlToMarkdown when we tap on description selection, we trigger some function in actions. we need to wrap that with Parser.htmlToMarkdown

  8. 4 remaining items

  9. removed
    DeployBlocker
    on Aug 11, 2025
  10. kavimuru commented on Aug 11, 2025

    @kavimuru

    There is no merge option now. No HTML when opening the expense

    Recording.2229.mp4
  11. removed
    DeployBlockerCash
    on Aug 12, 2025
  12. PiyushChandra17 commented on Aug 12, 2025

    @PiyushChandra17
    Contributor

    @kavimuru Are we removing the merge feature? Or if we are putting this on HOLD, then we might get this issue in the future when we reapply the merge feature, just curious about it 🤔

  13. garrettmknight commented on Sep 3, 2025

    @garrettmknight
    Contributor

    Fixed in 68204.pr-testing.expensify.com

  14. melvin-bot commented on Sep 11, 2025

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  15. added
    Weekly
    Awaiting Payment
    and removed
    Hourly
    on Sep 12, 2025
  16. changed the title [-]Expense - Description with mark down shows HTML tags in description selection[/-] [+][Due for payment 2025-09-19] Expense - Description with mark down shows HTML tags in description selection[/+] on Sep 12, 2025
  17. removed
    Reviewing
    on Sep 12, 2025
  18. melvin-bot commented on Sep 12, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  19. melvin-bot commented on Sep 12, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.12-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2025-09-19. 🎊

  20. melvin-bot commented on Sep 12, 2025

    @melvin-bot

    @youssef-lr @OfstadC The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugEngineeringWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions