Fix rendering & and " in preview panel

* Set plain text mode on elements that should never have styling
* Revert html escaping as a prior fix
This commit is contained in:
Jonathan White
2024-12-24 08:34:11 -05:00
parent 620abb96f2
commit 17dc022e15
2 changed files with 14 additions and 3 deletions

View File

@@ -100,7 +100,7 @@
<enum>Qt::ClickFocus</enum>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
<enum>Qt::PlainText</enum>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
@@ -279,6 +279,9 @@
</property>
<item>
<widget class="QLabel" name="entryPasswordLabel">
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
<property name="text">
<string notr="true">TextLabel</string>
</property>
@@ -316,6 +319,9 @@
<property name="text">
<string notr="true">https://example.com</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="textInteractionFlags">
<set>Qt::TextBrowserInteraction</set>
</property>
@@ -504,6 +510,9 @@
<property name="text">
<string notr="true">expired</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>