diff --git a/retroshare-gui/src/gui/gxs/GxsCreateCommentDialog.cpp b/retroshare-gui/src/gui/gxs/GxsCreateCommentDialog.cpp index d823414de..dd177e462 100644 --- a/retroshare-gui/src/gui/gxs/GxsCreateCommentDialog.cpp +++ b/retroshare-gui/src/gui/gxs/GxsCreateCommentDialog.cpp @@ -60,8 +60,8 @@ void GxsCreateCommentDialog::createComment() { RsGxsComment comment; - QString text = ui->commentTextEdit->toHtml(); - RsHtml::optimizeHtml(text); + QString text = ui->commentTextEdit->toPlainText(); + // RsHtml::optimizeHtml(text); std::string msg = text.toUtf8().constData(); comment.mComment = msg; diff --git a/retroshare-gui/src/gui/gxs/GxsCreateCommentDialog.ui b/retroshare-gui/src/gui/gxs/GxsCreateCommentDialog.ui index 1825bcf55..f59dd4aaf 100644 --- a/retroshare-gui/src/gui/gxs/GxsCreateCommentDialog.ui +++ b/retroshare-gui/src/gui/gxs/GxsCreateCommentDialog.ui @@ -157,8 +157,11 @@ p, li { white-space: pre-wrap; } + + false + - Type your comment + Type in your comment @@ -241,9 +244,6 @@ p, li { white-space: pre-wrap; } 1 - - - - +