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:
parent
897e29c28f
commit
4691cfa515
@ -709,7 +709,7 @@ class DescriptionFormatter:
|
|||||||
if index2 == -1:
|
if index2 == -1:
|
||||||
urltxt = url
|
urltxt = url
|
||||||
else:
|
else:
|
||||||
urltxt = url[index2 + 1]
|
urltxt = url[index2 + 1:]
|
||||||
url = url[:index]
|
url = url[:index]
|
||||||
linkified_html += '<a href="' + url + '">' + cgi.escape(urltxt) + '</a>'
|
linkified_html += '<a href="' + url + '">' + cgi.escape(urltxt) + '</a>'
|
||||||
linkified_plain += urltxt
|
linkified_plain += urltxt
|
||||||
|
Loading…
Reference in New Issue
Block a user