[gnome-software/155-allow-some-markup-in-release-notes-in-appdata: 58/60] packagekit: Generate pango markup for the app description
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/155-allow-some-markup-in-release-notes-in-appdata: 58/60] packagekit: Generate pango markup for the app description
- Date: Tue, 16 Nov 2021 16:43:43 +0000 (UTC)
commit 2ba7d33bd8e40ba268d72db9057863135d537b70
Author: Milan Crha <mcrha redhat com>
Date: Thu Nov 4 09:53:52 2021 +0100
packagekit: Generate pango markup for the app description
Needed, when the description will be a markup, instead of a plain text.
plugins/packagekit/gs-plugin-packagekit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/packagekit/gs-plugin-packagekit.c b/plugins/packagekit/gs-plugin-packagekit.c
index f03ecec8b..7f393db05 100644
--- a/plugins/packagekit/gs-plugin-packagekit.c
+++ b/plugins/packagekit/gs-plugin-packagekit.c
@@ -1036,7 +1036,7 @@ gs_plugin_packagekit_fixup_update_description (const gchar *text)
return NULL;
/* try to parse */
- markdown = gs_markdown_new (GS_MARKDOWN_OUTPUT_TEXT);
+ markdown = gs_markdown_new (GS_MARKDOWN_OUTPUT_PANGO);
gs_markdown_set_smart_quoting (markdown, FALSE);
gs_markdown_set_autocode (markdown, FALSE);
gs_markdown_set_autolinkify (markdown, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]