diaspora / diaspora

A privacy-aware, distributed, open source social network.
https://diasporafoundation.org/
GNU Affero General Public License v3.0
13.38k stars 2.92k forks source link

Markdown rendering of links on mobile interface #5015

Open TheRadialActive opened 10 years ago

TheRadialActive commented 10 years ago

I took a look at this post on mobile interface. The link of "Edy Edwards" was not rendered in a markdown link on mobile interface (on normal interface, everything is fine).

[Edy Edwards](www.edy-edwards.de)

The other links start with "http://*" and they get rendered.

Flaburgan commented 10 years ago

I thought that something which doesn't start with http:// was not rendered, neither on desktop nor mobile.

hpetru commented 10 years ago

@TheRadialActive The problem is in Redcarpet gem, its consider this link invalid, I think we need to update your javascript to have same result which provide Red Carpet, or fork and modify Redcarped C code https://github.com/vmg/redcarpet/blob/master/ext/redcarpet/autolink.c#L34

jhass commented 10 years ago

Well we could try to detect ](www. and replace it by ](http://www.

TheRadialActive commented 10 years ago

@jhass Yes, I think that would be a nice solution.

artoartnik commented 9 years ago

This seems resolved, I can't replicate the issue.

jhass commented 9 years ago

I still can, note that this is talking about the mobile view, which renders markdown server side with Redcarpet

polsvoice commented 8 years ago

This bug is still extant. I was able to reproduce it from the JoinDiaspora pod.