mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed RetroShare links with "'" in the file name.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3964 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
73b443ddf6
commit
cdef45d4a3
@ -264,17 +264,17 @@ QString RetroShareLink::niceName() const
|
||||
|
||||
QString RetroShareLink::toHtml() const
|
||||
{
|
||||
return QString("<a href='") + toString() + "'>" + niceName() + "</a>" ;
|
||||
return QString("<a href=\"") + toString() + "\">" + niceName() + "</a>" ;
|
||||
}
|
||||
|
||||
QString RetroShareLink::toHtmlFull() const
|
||||
{
|
||||
return QString("<a href='") + toString() + "'>" + toString() + "</a>" ;
|
||||
return QString("<a href=\"") + toString() + "\">" + toString() + "</a>" ;
|
||||
}
|
||||
|
||||
QString RetroShareLink::toHtmlSize() const
|
||||
{
|
||||
return QString("<a href='") + toString() + "'>" + name() +"</a>" + " " + "<font color=\"blue\">" + "(" + misc::friendlyUnit(_size) + ")" +"</font>";
|
||||
return QString("<a href=\"") + toString() + "\">" + name() +"</a>" + " " + "<font color=\"blue\">" + "(" + misc::friendlyUnit(_size) + ")" +"</font>";
|
||||
}
|
||||
|
||||
bool RetroShareLink::checkName(const QString& name)
|
||||
|
Loading…
Reference in New Issue
Block a user