App: Markdown links don't work properly when there is text in brackets at the beginning of the line

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. Navigate to a conversation
  2. Send the following message
[Text text] more text ([link here](www.google.com))

Expected Result:

Message should be displayed like this -> [Text text] more text (link here)

Actual Result:

Message is not correctly hyperlinked. Please check the screenshot

image

The more text part is incorrectly included in a hyperlink.

Workaround:

N/A

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.0.83-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Please check the screenshot in Actual Result.

Expensify/Expensify Issue URL:

View all open jobs on Upwork


From @rafecolton https://expensify.slack.com/archives/C01GTK53T8Q/p1628560869141100

Markdown links don’t work properly when there is text in brackets at the beginning of the line.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 25 (11 by maintainers)

Most upvoted comments

Oh, ha… well, welcome to my chaos roller coaster! Sorry about that confusion, I get it now.

OK, if it’s a regression from a previous PR, then this would be part of the original job and there would be no additional payment, so I think we are OK here and I’m assigning back to @mananjadhav and we can go ahead and get the fix merged when it’s done being reviewed.

@mananjadhav It could be but You don’t need to worry about that in the Current PR. I am in discussions about the issues from the upgrade of react-native-render-html. Hopefully, soon they will be fixed.