disabled HTML in comments since it does not add supportable features

This commit is contained in:
csoler 2020-11-01 22:53:12 +01:00
parent 7be387993b
commit 5efe472055
2 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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>