Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: markdown url matching #1182

Merged
merged 2 commits into from
Nov 12, 2022
Merged

fix: markdown url matching #1182

merged 2 commits into from
Nov 12, 2022

Conversation

foolo
Copy link
Contributor

@foolo foolo commented Nov 12, 2022

What does this PR do?

Fixes #1165
Detect markdown URLs before other matchers.
Before:
1before

After:
2after

Note: In this particular post (https://lenster.xyz/posts/0xec18-0x40) the hashtags are part of the markdown link text:
[Kima LinkedIn‘de: #dapps #defi #web3 #decentralizedfinance #kima_protocol #blockchain #crypto](https://www.linkedin.com/posts/kimafinance_dapps-defi-web3-activity-6993226043306242048-HOSD), which is the clickable text, so the hashtags will not be individually clickable.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

Open https://lenster.xyz/posts/0xec18-0x40 and check that the markdown link is rendered correctly.

@foolo foolo requested a review from bigint as a code owner November 12, 2022 08:54
@vercel
Copy link

vercel bot commented Nov 12, 2022

@foolo is attempting to deploy a commit to the Lenster Team on Vercel.

A member of the Team first needs to authorize it.

@bigint bigint changed the title fix markdown url matching fix: markdown url matching Nov 12, 2022
@vercel
Copy link

vercel bot commented Nov 12, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lenster ✅ Ready (Inspect) Visit Preview Nov 12, 2022 at 0:30AM (UTC)

@vercel vercel bot temporarily deployed to Preview November 12, 2022 12:30 Inactive
@bigint bigint merged commit 4887fa0 into heyxyz:main Nov 12, 2022
@foolo foolo deleted the markdown-matcher branch November 12, 2022 21:29
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.

Links not rendering properly
2 participants