diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-12-17 19:58:57 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-12-17 19:58:57 +0100 |
commit | 270fbc11b9744b76bcc52a3cf58fe896d7352724 (patch) | |
tree | fb359e210d2d9c30f5ad36a447ea29b62ae9bb56 /src/Properties.vala | |
parent | 841f952294b349b2b8e2afb5305ce34a3b59bb4b (diff) | |
parent | 4cb46f4de4b881e5b1f65af017dca6f3917e55e5 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/Properties.vala')
-rw-r--r-- | src/Properties.vala | 4 |
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("&", "&") : NO_VALUE); + Markup.escape_text(file_path) : NO_VALUE); add_line(_("File size:"), (filesize > 0) ? format_size((int64) filesize) : NO_VALUE); |