[fractal] Fix build and update SDK version
- From: Alexandre Franke <afranke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] Fix build and update SDK version
- Date: Mon, 16 Aug 2021 15:29:27 +0000 (UTC)
commit 534d57b024cba7b58aa523a4bcd003a1ab6bf52c
Author: Alexandre Franke <afranke gnome org>
Date: Mon Aug 16 15:34:04 2021 +0200
Fix build and update SDK version
flatpak/org.gnome.Fractal-release.json | 4 ++--
fractal-gtk/src/appop/message.rs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/flatpak/org.gnome.Fractal-release.json b/flatpak/org.gnome.Fractal-release.json
index a3fe92a7..d59e2225 100644
--- a/flatpak/org.gnome.Fractal-release.json
+++ b/flatpak/org.gnome.Fractal-release.json
@@ -1,7 +1,7 @@
{
"app-id" : "org.gnome.Fractal",
"runtime" : "org.gnome.Platform",
- "runtime-version" : "3.36",
+ "runtime-version" : "40",
"sdk" : "org.gnome.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
@@ -54,7 +54,7 @@
{
"type" : "git",
"url" : "https://gitlab.gnome.org/GNOME/libhandy",
- "tag" : "1.0.1"
+ "tag" : "1.2.3"
}
]
},
diff --git a/fractal-gtk/src/appop/message.rs b/fractal-gtk/src/appop/message.rs
index cebd325c..c23f5585 100644
--- a/fractal-gtk/src/appop/message.rs
+++ b/fractal-gtk/src/appop/message.rs
@@ -253,7 +253,7 @@ impl AppOp {
let mut md_options = ComrakOptions::default();
md_options.hardbreaks = true;
let mut md_parsed_msg = markdown_to_html(&msg, &md_options);
- md_parsed_msg = trim_p_tags(md_parsed_msg).to_owned();
+ md_parsed_msg = trim_p_tags(&md_parsed_msg).to_owned();
if md_parsed_msg != msg {
m.formatted_body = Some(md_parsed_msg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]