Files
Tor Valstrom 3246806d64 fix(l10n): stop double-escaping the instance name in settings text
t() HTML-escapes placeholder values unless told otherwise. That is right
when the result is handed to v-html, and wrong for these six strings,
because every one of them is rendered as text - {{ }} interpolation,
NcSettingsSection's description, NcInputField's helperText, or an
aria-label. Vue escapes the string again on render, so the entity is what
the user actually reads: an instance called "Foo's Speicher" shows up as
"Foo's Speicher" in the OAuth 2.0 clients section and in four places
in the LDAP wizard.

Turning escaping off for these call sites is safe on two counts. The
results are text bindings, so Vue still escapes them exactly once on
render, and ThemingDefaults::getName() already runs the configured
instance name through strip_tags() before it reaches the theming
capability, so the value cannot carry markup to begin with.

This matches how the rest of the codebase handles text-rendered
placeholders, including the neighbouring user count in UsersTab.vue.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Tor Valstrom <51440386+torvalstrom@users.noreply.github.com>
2026-09-15 19:56:38 +00:00
..