mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed creation of the RetroShare links as anchor.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4189 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
31b950a8fe
commit
e34505c1d2
@ -476,13 +476,13 @@ QString RetroShareLink::niceName() const
|
|||||||
|
|
||||||
QString RetroShareLink::toHtml() const
|
QString RetroShareLink::toHtml() const
|
||||||
{
|
{
|
||||||
QString html = "<a href=\"" + toString(true);
|
QString html = "<a href=\"" + toString(true) + "\"";
|
||||||
|
|
||||||
QString linkTitle = title();
|
QString linkTitle = title();
|
||||||
if (!linkTitle.isEmpty()) {
|
if (!linkTitle.isEmpty()) {
|
||||||
html += " title=\"" + linkTitle + "\"";
|
html += " title=\"" + linkTitle + "\"";
|
||||||
}
|
}
|
||||||
html += "\">" + niceName() + "</a>" ;
|
html += ">" + niceName() + "</a>" ;
|
||||||
|
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user