Skip to content
Bug Barometer

NGA copilotActionOutput rich-text renderer strips target="_blank" from anchors, so record links open in the same tab

Not fixed yet. Salesforce is reviewing it.

Summary

  • In Agentforce Studio (NGA), a prompt-template action that returns HTML containing <a href="…" target="_blank"> is shown through the result-display path (show_tool_results → copilotActionOutput, lightning__richTextType).
  • The client renderer runtime_copilot_base/outputRichText strips target="_blank" while sanitizing. Links, including record links, open in the same tab.
  • The legacy Copilot renderer kept target, so this is a migration regression.
  • The reasoner emits the attribute intact. The loss happens only at render time.
  • copilotActionOutput and the plain Inform-message path use different sanitizers with different attribute allowlists. The output sanitizer drops target and rel. The message sanitizer keeps target.


Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as In Review

    Nov 30, 2026

Also open in AgentForce