diff --git a/Sources/MarkdownView.Portable/MarkdownView.cs b/Sources/MarkdownView.Portable/MarkdownView.cs index 8be9a3c..23ec733 100644 --- a/Sources/MarkdownView.Portable/MarkdownView.cs +++ b/Sources/MarkdownView.Portable/MarkdownView.cs @@ -1,4 +1,4 @@ -namespace Xam.Forms.Markdown +namespace Xam.Forms.Markdown { using System.Linq; using Markdig.Syntax; @@ -426,7 +426,7 @@ private Span[] CreateSpans(Inline inline, string family, FontAttributes attribut var url = link.Url; - if (!(url.StartsWith("http://") || url.StartsWith("https://"))) + if (!(url.StartsWith("http://") || url.StartsWith("https://") || url.StartsWith("mailto:") || url.StartsWith("tel:"))) { url = $"{this.RelativeUrlHost?.TrimEnd('/')}/{url.TrimStart('/')}"; }