mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
disabled HTML in comments since it does not add supportable features
This commit is contained in:
parent
7be387993b
commit
5efe472055
@ -60,8 +60,8 @@ void GxsCreateCommentDialog::createComment()
|
|||||||
{
|
{
|
||||||
RsGxsComment comment;
|
RsGxsComment comment;
|
||||||
|
|
||||||
QString text = ui->commentTextEdit->toHtml();
|
QString text = ui->commentTextEdit->toPlainText();
|
||||||
RsHtml::optimizeHtml(text);
|
// RsHtml::optimizeHtml(text);
|
||||||
std::string msg = text.toUtf8().constData();
|
std::string msg = text.toUtf8().constData();
|
||||||
|
|
||||||
comment.mComment = msg;
|
comment.mComment = msg;
|
||||||
|
@ -157,8 +157,11 @@ p, li { white-space: pre-wrap; }
|
|||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true"/>
|
<string notr="true"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="acceptRichText">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
<property name="placeholderText">
|
<property name="placeholderText">
|
||||||
<string>Type your comment</string>
|
<string>Type in your comment</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -241,9 +244,6 @@ p, li { white-space: pre-wrap; }
|
|||||||
<container>1</container>
|
<container>1</container>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources>
|
<resources/>
|
||||||
<include location="../icons.qrc"/>
|
|
||||||
<include location="../images.qrc"/>
|
|
||||||
</resources>
|
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
Loading…
Reference in New Issue
Block a user