[gnome-software/wip/hughsie/webapps: 3/4] core: Do not assume AppStream XML files can always be loaded with literal text
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/hughsie/webapps: 3/4] core: Do not assume AppStream XML files can always be loaded with literal text
- Date: Thu, 29 Aug 2019 11:39:21 +0000 (UTC)
commit b8f1d4f821956e668a5e0bf549ac3028449dcfea
Author: Richard Hughes <richard hughsie com>
Date: Thu Aug 29 12:35:34 2019 +0100
core: Do not assume AppStream XML files can always be loaded with literal text
This fixes the problem where webapps descriptions are showing with a weird left
indent and incorrect line breaking.
plugins/core/gs-plugin-appstream.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/plugins/core/gs-plugin-appstream.c b/plugins/core/gs-plugin-appstream.c
index 6624e5ba..31316ba2 100644
--- a/plugins/core/gs-plugin-appstream.c
+++ b/plugins/core/gs-plugin-appstream.c
@@ -353,8 +353,7 @@ gs_plugin_appstream_load_appstream_fn (GsPlugin *plugin,
/* add source */
if (!xb_builder_source_load_file (source, file,
- XB_BUILDER_SOURCE_FLAG_WATCH_FILE |
- XB_BUILDER_SOURCE_FLAG_LITERAL_TEXT,
+ XB_BUILDER_SOURCE_FLAG_WATCH_FILE,
cancellable,
error)) {
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]