App: [HOLD for payment 2023-11-30] [$500] Web - Different markdown when copied after sending.
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
- Go to any report
- Paste and send markdown provided below
- Copy the message sent
- Paste the copied message in composer
- Observe the difference
Markdown :
code
text
code
Expected Result:
The copied markdown should be the same as the markdown sent.
Actual Result:
The copied markdown is different from the markdown sent. Specifically, the closing of second code block appears after the text not beneath it:
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
- Android / native
- Android / Chrome
- iOS / native
- iOS / Safari
- MacOS / Chrome / Safari
- MacOS / Desktop
Version Number: 1.3.61.0 Reproducible in staging?: y Reproducible in production?: y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/f29cbeb0-1e5d-4625-b1b4-bca9f71d82cc
https://github.com/Expensify/App/assets/93399543/eab6b4e2-11fb-4641-8d72-3374788b9a0b
Expensify/Expensify Issue URL: Issue reported by: @krishna2323 Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693066653312359
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~0165c30b36785b9c56
- Upwork Job ID: 1711445892210065408
- Last Price Increase: 2023-11-13
- Automatic offers:
- 0xmiroslav | Reviewer | 27695522
- eh2077 | Contributor | 27695523
- krishna2323 | Reporter | 27695525
- nikosamofa | Contributor | 27714814
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 84 (61 by maintainers)
⚠️ This issue has had its price increased by 4x or more. Please review the issue and ensure the price is correct.
@eh2077 thanks for confirmation
Recommended proposal: https://github.com/Expensify/App/issues/26490#issuecomment-1758233329 Contributor: @nikosamofa
🎀 👀 🎀 C+ reviewed
@nikosamofa your solution will cause regression - https://github.com/Expensify/App/issues/8089. Please make all failing automated tests work.
Why not work off of this issue?
Same, @Beamanator is collecting more of these for his master before tackling them together.
@Krishna2323 Updated
I can reproduce this. It produces the same results on enter:
but yes, the closing of the second code block appears after the text and not beneath it:
I think given that it renders correctly in the chat, it should be classified under this issue and approached in unison with other small markdown fixes. CC: @Beamanator