question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem rendering Links if link does not start with 'http'

See original GitHub issue

This works as expected: [I'm an inline-style link](https://www.google.com)

These are unresponsive to click:

[I'm an inline-style link](www.google.com)  
[I'm an inline-style link](google.com)

I have tested on markwon v2.0.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tariqueislamcommented, Oct 6, 2018

Thanks for the helpful info @noties . I ended up using my own LinkSpan.Resolver with an additional check:

if (uri.getScheme() == null) {
    uri = Uri.parse("http://" + link);
}
0reactions
Sebastiaan-Alvarez-Rodriguezcommented, Mar 2, 2020

Hi, thanks for your response! For now, I will try to use the ‘LinkResolver’! Once 4.3.0 stable is out, I will check implementation of fallback schemes and remove the code.

Anyway, thanks again for your time!

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 Common URL Problems and How to Fix Them - SEO.com
Problem #1: Non-www and www Versions of Site URLs​​ Decide which URL style you want to use, www or non-www. Set up a...
Read more >
html - links without http protocol - Stack Overflow
If a web page is saved on a local disk and then opened from there, it has no protocol (just the file: pseudo-protocol),...
Read more >
How to Resolve Link Errors in Email - Sendwithus
Solution ¶ Check the Microsoft Outlook link is referencing the correct destination and fill in the correct URL in the reference. In the...
Read more >
Hyperlinks not working in Outlook? How to make links open ...
If hyperlinks are not working in your Outlook, follow these solutions or download a fix and you will be able to open links...
Read more >
Rendering of some past links to meta seems to be broken after ...
The problem I see with this is that when any old post including an url was made, the link (with old url) was...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found