From 8c1d527068c8a443fa9337a538f485d325f2fd9f Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Wed, 5 Feb 2020 22:37:32 -0800 Subject: [PATCH] fix html parsing of user profile description, issue #56 --- assets/UserItem.qml | 3 ++- translations/Goober.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/UserItem.qml b/assets/UserItem.qml index 2a3cb81..64bb78a 100644 --- a/assets/UserItem.qml +++ b/assets/UserItem.qml @@ -1,5 +1,6 @@ import bb.cascades 1.4 import com.netimage 1.0 +import "parser.js" as Parser Container { id: useritem @@ -54,7 +55,7 @@ Container { Container { Label { id: description - text: ListItemData.content.html + text: Parser.fixPostHtml(ListItemData.content.html) multiline: true textFormat: TextFormat.Html } diff --git a/translations/Goober.ts b/translations/Goober.ts index 740b27d..c4b4776 100644 --- a/translations/Goober.ts +++ b/translations/Goober.ts @@ -256,12 +256,12 @@ UserItem - + Unfollow - + Follow