summaryrefslogtreecommitdiff
path: root/src/Properties.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-12-17 19:58:25 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-12-17 19:58:25 +0100
commit4cb46f4de4b881e5b1f65af017dca6f3917e55e5 (patch)
treefb359e210d2d9c30f5ad36a447ea29b62ae9bb56 /src/Properties.vala
parent841f952294b349b2b8e2afb5305ce34a3b59bb4b (diff)
parentf5a0cee8ccecc7b6c6c2d8e9fb6f6eecd53531fe (diff)
Update upstream source from tag 'upstream/0.32.4'
Update to upstream version '0.32.4' with Debian dir 51798a6af1c9b7e48f979c020d72f3c5ddd964a6
Diffstat (limited to 'src/Properties.vala')
-rw-r--r--src/Properties.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Properties.vala b/src/Properties.vala
index b8c3e0d..7c6ab89 100644
--- a/src/Properties.vala
+++ b/src/Properties.vala
@@ -50,7 +50,7 @@ private abstract class Properties : Gtk.Box {
}
if (href == null) {
- info_label.set_text(is_string_empty(info_text) ? "" : info_text);
+ info_label.set_markup(is_string_empty(info_text) ? "" : info_text);
} else {
info_label.set_markup("<a href=\"%s\">%s</a>".printf(href, Markup.escape_text(info_text)));
}
@@ -596,7 +596,7 @@ private class ExtendedProperties : Properties {
// nothing special to be done for now for Events
} else {
add_line(_("Location:"), (file_path != "" && file_path != null) ?
- file_path.replace("&", "&amp;") : NO_VALUE);
+ Markup.escape_text(file_path) : NO_VALUE);
add_line(_("File size:"), (filesize > 0) ?
format_size((int64) filesize) : NO_VALUE);