mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-24 05:49:29 -04:00
disabled HTML in comments since it does not add supportable features
This commit is contained in:
parent
7be387993b
commit
5efe472055
2 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -157,8 +157,11 @@ p, li { white-space: pre-wrap; }
|
|||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="acceptRichText">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Type your comment</string>
|
||||
<string>Type in your comment</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -241,9 +244,6 @@ p, li { white-space: pre-wrap; }
|
|||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../icons.qrc"/>
|
||||
<include location="../images.qrc"/>
|
||||
</resources>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue