Wrong Internet Links on This Forum


(Pedram Pourang) #1

On this forum, if you add a semicolon after an Internet link in your comment, for example, it’ll be included by the link and the page won’t be opened. The same may be true with other punctuation marks but I haven’t tested.


(Alf Gaida) #2

that is called markdown syntax https://github.com/lxde;


(Pedram Pourang) #3

Click here: https://github.com/lxde; and here https://github.com/lxde:


(Pedram Pourang) #4

Whatever regular expression is used for links, it has a small problem

I don’t have the slightest clue how these pages work but, somehow, a regex should have been used somewhere. I used this regex in FP (Qt’s double backslashes are removed):

[A-Za-z0-9_]+://[A-Za-z0-9_.+/\?\=~&%#\-:\(\)\[\]]+|[A-Za-z0-9_.\-]+@[A-Za-z0-9_\-]+\.[A-Za-z0-9.]+

(Alf Gaida) #5

bah, it sucks, it isn’t pure markdown

<https://forum.lxqt.org>; vs. https://forum.lxqt.org;

https://forum.lxqt.org; vs. https://forum.lxqt.org; but i can’t reproduce the original problem anymore - it might be that it is because i updated to beta 4 today …

We should test this document and maybe ask in the discourse forum for help. (https://sourceforge.net/p/datool/wiki/markdown_syntax/)

> Click here <https://github.com/lxde/>; and here <https://github.com/lxde>: ....

Click here https://github.com/lxde/; and here https://github.com/lxde: …


(Pedram Pourang) #6

I’m sure you know that I’m familiar with the markdown syntax – otherwise, how could I highlight it in FeatherPad?! This is about html.

I just type these addresses, without doing the markdow thing:

https://github.com/lxde;
https://forum.lxqt.org;

For some reason (= a problem), the semicolon is included in the first address but not in the second. This doesn’t happen on github.


(Alf Gaida) #7

Hmm - i know that you are familar with markdown - maybe a bug report in discurse would be helpful?


(Pedram Pourang) #8

This isn’t important. Ignore it if it’s hard to fix for us.


(Alf Gaida) #9

Only a wild guess - discourse is ruby - so it would be indeed hard to fix for us - second thing is, that the guys are using 106 or so gems - so i suspect a bug in one gem