Felipe Coury
7a8092a447
Preserve Markdown formatting when copying TUI responses ( #42847 )
...
## What changed
- Add rendered HTML alongside the original Markdown when copying a whole response through the native clipboard, so rich-text destinations preserve headings, lists, tables, code, and other formatting.
- Keep code-block, blockquote, transcript, terminal, and WSL clipboard copies as plain text.
- Escape raw HTML, omit remote image sources, and render unsupported link destinations as visible text when producing clipboard HTML.
## Testing
- Add coverage for rich formatting, local and unsafe links, inert images, fenced tables, copy selection formats, and clipboard fallbacks.
GitOrigin-RevId: c6f5edd88b65f9e9b1ddc5618442868cf47ee560
2026-09-04 20:38:08 +00:00
..
2026-09-03 01:26:35 +00:00
2026-09-03 01:26:35 +00:00
2026-09-03 05:33:57 +00:00
2026-08-18 00:31:51 +00:00
2026-09-03 03:16:24 +00:00
2026-09-03 05:33:57 +00:00
2026-09-03 05:33:57 +00:00
2026-09-03 02:18:43 +00:00
2026-09-03 05:33:57 +00:00
2026-03-28 11:23:07 -06:00
2026-07-15 01:36:44 +00:00
2026-05-13 07:13:57 +00:00
2026-03-28 11:23:07 -06:00
2026-04-07 17:55:40 -07:00
2026-08-05 08:04:15 +00:00
2026-08-16 03:14:17 +00:00
2026-07-18 03:58:20 +00:00
2026-09-03 01:51:14 +00:00
2026-09-03 01:51:14 +00:00
2026-07-17 23:11:07 +00:00
2026-07-18 03:58:20 +00:00
2026-06-11 22:26:31 -07:00
2026-08-18 21:43:22 +00:00
2026-05-14 20:51:08 -07:00
2026-04-27 09:51:12 -07:00
2026-09-04 20:38:08 +00:00
2026-09-04 20:38:08 +00:00
2026-07-18 03:58:20 +00:00
2026-07-18 03:58:20 +00:00
2026-07-18 03:58:20 +00:00
2026-07-18 03:58:20 +00:00
2026-07-18 03:58:20 +00:00
2026-06-08 17:03:52 -07:00
2026-07-20 21:00:17 +00:00
2026-09-02 01:50:51 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-07-21 15:53:33 +00:00
2026-07-11 17:47:17 +00:00
2026-07-11 17:47:17 +00:00
2026-07-11 17:47:17 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-09-04 00:31:51 +00:00
2026-07-22 15:34:11 +00:00
2026-07-22 15:34:11 +00:00
2026-09-03 01:51:14 +00:00
2026-07-17 23:19:12 +00:00
2026-05-26 16:08:45 -03:00
2026-05-26 16:08:45 -03:00
2026-08-21 18:47:03 +00:00
2026-08-21 18:47:03 +00:00
2026-04-28 12:52:25 -03:00
2026-05-04 14:40:50 -03:00
2026-05-04 14:40:50 -03:00
2026-09-03 02:18:43 +00:00
2026-08-31 21:53:02 +00:00
2026-09-03 02:18:43 +00:00
2026-09-03 02:18:43 +00:00
2026-09-03 02:18:43 +00:00
2026-09-03 02:18:43 +00:00
2026-09-03 02:18:43 +00:00
2026-09-01 21:30:27 +00:00
2026-08-25 02:34:04 +00:00
2026-09-03 02:18:43 +00:00
2026-06-08 17:02:36 -07:00
2026-09-01 19:51:05 +00:00
2026-09-01 19:51:05 +00:00
2026-09-01 19:51:05 +00:00
2026-09-01 19:51:05 +00:00
2026-09-01 19:51:05 +00:00
2026-09-01 19:51:05 +00:00
2026-04-27 13:40:46 -07:00
2026-05-27 16:18:24 -03:00
2026-03-28 11:23:07 -06:00
2026-05-09 13:58:10 -03:00
2026-05-25 15:42:28 -03:00
2026-05-27 20:27:55 +00:00
2026-07-29 14:01:31 +00:00
2026-05-27 20:27:55 +00:00
2026-05-27 20:27:55 +00:00
2026-09-01 19:51:05 +00:00
2026-05-27 16:18:24 -03:00
2026-08-24 20:04:52 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-09-03 01:51:14 +00:00
2026-09-03 01:51:14 +00:00
2026-09-03 01:51:14 +00:00
2026-09-03 01:51:14 +00:00
2026-09-03 01:51:14 +00:00
2026-09-03 01:51:14 +00:00
2026-08-04 18:59:32 +00:00
2026-09-03 01:51:14 +00:00
2026-09-03 01:51:14 +00:00
2026-07-31 18:58:32 +00:00
2026-05-05 13:32:54 -07:00
2026-05-05 13:32:54 -07:00
2026-05-05 13:32:54 -07:00
2026-05-05 13:32:54 -07:00
2026-05-05 13:32:54 -07:00
2026-05-05 13:32:54 -07:00
2026-09-04 01:46:55 +00:00
2026-05-05 13:32:54 -07:00
2026-05-05 13:32:54 -07:00
2026-05-05 13:32:54 -07:00
2026-05-05 13:32:54 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-08-07 03:54:23 +00:00
2026-05-05 13:32:54 -07:00
2026-04-06 08:51:13 -07:00
2026-05-05 13:32:54 -07:00
2026-08-15 17:30:13 +00:00
2026-08-15 17:30:13 +00:00
2026-08-14 20:35:11 +00:00
2026-06-05 08:32:07 -07:00
2026-06-05 08:32:07 -07:00
2026-09-01 19:06:32 +00:00
2026-09-01 19:06:32 +00:00
2026-05-27 18:59:17 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-05-01 09:07:56 -07:00
2026-08-17 20:06:41 +00:00
2026-07-29 13:57:46 +00:00
2026-08-20 07:25:40 +00:00
2026-08-20 07:25:40 +00:00
2026-03-28 11:23:07 -06:00