Skip to content

Commit

Permalink
chore: adds sms link support in markdown url transform
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyagabriel committed Oct 3, 2024
1 parent 51f94a6 commit 17e5c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Markdown/Markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const Markdown = forwardRef(
: '';

const urlTransform = (url: string) => {
if (url.startsWith('tel:')) {
if (url.startsWith('tel:') || url.startsWith('sms:')) {
return url;
}
return defaultUrlTransform(url);
Expand Down

0 comments on commit 17e5c58

Please sign in to comment.