First time here? Check out the FAQ!
4

Links in Comments are not always as expected

  • retag add tags

A user posted a correct link in the comments let's say www.mysite.com and it also looks like www.mysite.com, but when you click on it you get this link http://www.mysite.com%3c/p%3E which is a wrong link. I tried to edit the link but it was posted correct by the user. Askbot has changed the link into the wrong one. It seems to be not always the case it appears somehow randomly.

Update:

The problem is still there: links in comments get an extra <p>, when placed at the end of the comment. so the links become wrong..

Are there some solutions? It is an very annoying bug for site visitirs and users.

Toms's avatar
767
Toms
asked 2013-08-16 11:22:38 -0500, updated 2013-12-25 10:08:11 -0500
edit flag offensive 0 remove flag close merge delete

Comments

1

I confirm this, this happen when you insert the link at the end of your comment text, not tested a lot but it looks like when the JS convert the text to URL.

Mustafa's avatar Mustafa (2013-08-16 17:34:22 -0500) edit
Toms's avatar Toms (2013-12-25 10:08:38 -0500) edit

Ok this bug, is also on this site.

Toms's avatar Toms (2013-12-25 10:10:00 -0500) edit
2

I just ran into this. Still a bug in 0.7.49.

JetForMe's avatar JetForMe (2014-04-08 16:45:51 -0500) edit

I'd upvote this but I don't have any karma.

Neil's avatar Neil (2014-05-28 15:30:57 -0500) edit
add a comment see more comments

1 Answer

1

This bug seems to persist in Askbot 0.7.58. Besides this bug report from 2013 there is also one on Github that has been closed for unknown reasons:

(It looks like am I not allowed to add links but it is issue #190 on Github)

I'm not sure about the 0.8 or 0.9 branch though. The only workaround is adding something other than a URL to the end.

Martin's avatar
1
Martin
answered 2017-08-09 05:23:29 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments