mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 23:55:35 -04:00
fixed link passed issue due to usin self-closign links (Patch from Asamk #3418941)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4631 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
15758578e0
commit
6addc80e99
9 changed files with 18 additions and 18 deletions
|
@ -914,8 +914,8 @@ void CreateBlogMsg::addImage()
|
|||
void CreateBlogMsg::Create_New_Image_Tag( const QString urlremoteorlocal )
|
||||
{
|
||||
/*if (image_extension(urlremoteorlocal)) {*/
|
||||
QString subtext = QString("<p><img src=\"%1\" />").arg(urlremoteorlocal);
|
||||
///////////subtext.append("<br/><br/>Description on image.</p>");
|
||||
QString subtext = QString("<p><img src=\"%1\">").arg(urlremoteorlocal);
|
||||
///////////subtext.append("<br><br>Description on image.</p>");
|
||||
QTextDocumentFragment fragment = QTextDocumentFragment::fromHtml(subtext);
|
||||
ui.msgEdit->textCursor().insertFragment(fragment);
|
||||
//emit statusMessage(QString("Image new :").arg(urlremoteorlocal));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue