1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Fixes link title truncation

This commit is contained in:
Ciaran Gultnieks 2012-09-17 22:12:26 +01:00
parent 897e29c28f
commit 4691cfa515

View File

@ -709,7 +709,7 @@ class DescriptionFormatter:
if index2 == -1:
urltxt = url
else:
urltxt = url[index2 + 1]
urltxt = url[index2 + 1:]
url = url[:index]
linkified_html += '<a href="' + url + '">' + cgi.escape(urltxt) + '</a>'
linkified_plain += urltxt