Commit 3d59a683 authored by Suhas's avatar Suhas Committed by Alexandru Băluț

ui: Escape markup in uri to avoid GTK warnings

GTK otherwise parses uri as markup text.

This fixes T7679

Differential Revision:
parent c39f7390
......@@ -251,7 +251,8 @@ def beautify_asset(asset):
asset (GES.Asset): The asset to display.
uri = get_proxy_target(asset)
res = ["<b>" + path_from_uri(uri) + "</b>"]
path = path_from_uri(uri)
res = ["<b>" + GLib.markup_escape_text(path) + "</b>"]
ranks = {
DiscovererVideoInfo: 0,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment