adding links to notes does not work #197

Closed
opened 2011-11-12 17:31:56 +00:00 by j · 2 comments
Owner

adding a link to notes strange things happen if www is in the url

1.e.
http://www.youtube.com/watch?v=vM9OqVP2d4I

gets

<a href="http://www.youtube.com/watch?v=vM9OqVP2d4I" title="http://www.youtube.com/watch?v=vM9OqVP2d4I"></a><a href="http://www.youtube.com" title="http://www.youtube.com">www.youtube.com</a>
adding a link to notes strange things happen if www is in the url 1.e. <http://www.youtube.com/watch?v=vM9OqVP2d4I> gets ``` <a href="http://www.youtube.com/watch?v=vM9OqVP2d4I" title="http://www.youtube.com/watch?v=vM9OqVP2d4I"></a><a href="http://www.youtube.com" title="http://www.youtube.com">www.youtube.com</a> ```
j added the
major
defect
general
labels 2011-11-12 17:32:23 +00:00
0x2620 was assigned by j 2011-11-12 17:32:23 +00:00
j added this to the 11.12 milestone 2011-11-12 17:32:23 +00:00
rlx was assigned by j 2011-11-12 17:32:23 +00:00
rlx was assigned by j 2011-11-12 17:32:23 +00:00
Owner

The bug is that everything that starts with "http://" or "www." becomes a link, even if it's already the text of a link.

The most obvious solution would be to turn magic links off in the HTML parser.

The bug is that everything that starts with "<http://"> or "www." becomes a link, even if it's already the text of a link. The most obvious solution would be to turn magic links off in the HTML parser.
Owner

This seems to work now.

This seems to work now.
rlx added the
fixed
label 2012-07-01 08:18:28 +00:00
rlx closed this issue 2012-07-01 08:18:28 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#197
No description provided.