Skip to content

[HOLD for payment 2023-08-30] [$1000] Web - Markdown pasted from selection-copy is different from clipboard-copy #23659

Description

@kbecciv

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:

  1. Open any report
  2. Paste this markdown (it has a heading, then a code snippet and a quote)

test heading

Code snippet

link

  1. Now use the copy to clipboard option, and copy the sent message
  2. Paste the message in the composer and send it again (notice that there are no difference in both messages)
  3. Now select the sent message text by cursor and press cmd+c
  4. Paste the text in the composer and send the message.
  5. Notice that the markdown message has an extra line in the code snippet part.

Expected Result:

Message copied from selection should be the same that that copied from context menu

Actual Result:

Message copied from selection has an extra line

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.45-8
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

Screen.Recording.2023-07-26.at.2.34.29.PM.mp4
Recording.3922.mp4

Expensify/Expensify Issue URL:
Issue reported by: @huzaifa-99
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690364432300409

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~019c94943755b5fa6d
  • Upwork Job ID: 1684694244929720320
  • Last Price Increase: 2023-08-03
  • Automatic offers:
    • mollfpr | Reviewer | 26012873
    • huzaifa-99 | Reporter | 26012875

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions