diff --git a/assets/PostItem.qml b/assets/PostItem.qml index 049c62c..5a58eb2 100644 --- a/assets/PostItem.qml +++ b/assets/PostItem.qml @@ -136,10 +136,25 @@ Container { topMargin: ui.sdu(2.0) bottomMargin: ui.sdu(2.0) Label { - text: (ListItemData.is_deleted) ? qsTr("{{POST DELETED}}") : ListItemData.content.text + //text: (ListItemData.is_deleted) ? qsTr("{{POST DELETED}}") : (ListItemData.content.html).replace(/
/g,"
") + text: { + var text + if (ListItemData.is_deleted) { + text = "{{POST DELETED}}" + } else { + text = (ListItemData.content.html).replace(/
/g,"
") + text = text = text.replace(/&[^amp;]/g,"&"); + } + return text + } multiline: true - //textFormat: TextFormat.Html + textFormat: TextFormat.Html } +// Label { +// text: ListItemData.content.html +// multiline: true +// textFormat: TextFormat.Plain +// } } Container { layout: DockLayout {} diff --git a/translations/Goober.ts b/translations/Goober.ts index db39926..2162349 100644 --- a/translations/Goober.ts +++ b/translations/Goober.ts @@ -30,52 +30,47 @@ PostItem - - <i>{{POST DELETED}}</i> - - - - + Reply - + Reply All - + Add Bookmark - + Delete Bookmark - + Repost - + Delete Repost - + Quote - + View Profile - + Delete