WSOD on certain settings tabs
## Summary When navigating to * /admin/config/ai/context/settings/agents/\<some\>\_agent/edit * /admin/config/ai/context/settings/extensions I get a WSOD. I believe this is because AiContextAgentForm uses an inline template render array that contains itself a link render array within a translation block, leading to an array instead of a string being passed to htmlspecialchars(). ## Steps to reproduce 1. Install the newest release (beta3) on a Drupal 10.5+ project. 2. Navigate to one of the above URLs (the first one is under Settings \> Agents \> Configure context items). ## Expected result The respective settings page shows up. ## Actual result A white screen displaying an error. ## Environment - Drupal version: 10.6.13 - Module version: 1.0.0-beta3 - PHP version: 8.3 - Last known working version: 1.0.0-beta2 ### Error messages or logs _(optional)_ _TypeError_: htmlspecialchars(): Argument #1 ($string) must be of type string, array given in _htmlspecialchars()_ (line _440_ of _core/lib/Drupal/Component/Utility/Html.php_). > [!note] > > Check the one that best describes your usage, or leave all unchecked if AI was not significantly used. > > * [ ] AI **Assisted Issue** \ > _Mainly written by a human; AI used for partial generation under full human supervision._ > * [ ] AI **Generated Issue** \ > _Mainly generated by AI, reviewed and approved by a human before this issue was created._ <!--If you discover this is a duplicate of an existing issue, use: /duplicate #<issue>-->
issue