Skip to content

Commit

Permalink
extension-row: Escape title
Browse files Browse the repository at this point in the history
Escaping it here instead of `exm-extension` should hopefully fix
extensions with special characters and avoid issues anywhere else.

Fix #473
  • Loading branch information
oscfdezdz committed Jan 12, 2024
1 parent 5f0ab9d commit 3f18bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exm-extension-row.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ bind_extension (ExmExtensionRow *self,

self->uuid = g_strdup (uuid);

g_object_set (self, "title", name, "subtitle", uuid, NULL);
g_object_set (self, "title", g_markup_escape_text(name, -1), "subtitle", uuid, NULL);
g_object_set (self->prefs_btn, "visible", has_prefs, NULL);
g_object_set (self->remove_btn, "visible", is_user, NULL);
g_object_set (self->update_icon, "visible", has_update, NULL);
Expand Down

0 comments on commit 3f18bb9

Please sign in to comment.