Commit 2bdc15b
fix(i18n): escape command text in Workbench run-confirmation Trans (RI-8275)
The dangerous-command confirmation renders interpolated values through
<Trans> with escapeValue off. `db` was escaped but `commands` (user-typed
command text) was not, so markup-like input (e.g. angle brackets) could
break out of the <bold> span. Escape `commands` via escapeTrans too, matching
the previous literal-text rendering behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent d52dbf5 commit 2bdc15b
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
0 commit comments