[gnome-software/155-allow-some-markup-in-release-notes-in-appdata] 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] packagekit: Generate pango markup for the app description
- Date: Thu, 4 Nov 2021 09:18:39 +0000 (UTC)
commit 2e9c56ff4f18478bb55e9dde9f4f1d588a41f808
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 71c8307ed..cf989a530 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]