extensions-app: Don't use markup for row titles

The title is set from extension metadata, which isn't supposed to
contain markup. That means it may contain unescaped  characters
like `&` that break the title when interpreted as markup.

Explicitly opt out of markup handling to fix this.

Close: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7579
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3266>
This commit is contained in:
Florian Müllner 2024-04-13 14:42:52 +02:00 committed by Marge Bot
parent cbcc5b479a
commit b00b674a6f

View File

@ -2,6 +2,7 @@
<interface>
<template class="ExtensionRow" parent="AdwActionRow">
<property name="activatable-widget">switch</property>
<property name="use-markup">false</property>
<binding name="title">
<lookup name="name" type="Extension">
<lookup name="extension" type="ExtensionRow"/>