From 181511473e5257174b782a3ab29a56f03bf7a67c Mon Sep 17 00:00:00 2001 From: Max Hsu Date: Mon, 27 Jul 2026 12:26:58 +0800 Subject: [PATCH] fix(desktop): render video/audio image-markdown as media, not broken Generated media often arrives as image markdown (![clip](clip.mp4)). The chat markdown renderer maps the img element to MarkdownImage, which renders a raw ; for a video/audio source the browser cannot paint it and shows a broken-image icon even though the file is valid and plays fine. Images worked only because is valid markup. Route video/audio sources in MarkdownImage to the existing MediaAttachment, which already picks the correct