From ba78141ac5edf00c87e72909b0331288d6e9eecd Mon Sep 17 00:00:00 2001 From: Roland Tannous Date: Thu, 28 May 2026 14:53:06 +0400 Subject: [PATCH] Studio: inline DOCX preview via docx-preview + DOMPurify MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously a DOCX citation only showed the extracted snippet + a Download button (Risk #3: never render a user-supplied .docx inline). Add a faithful inline render that keeps that guarantee: - New PreviewDocxView renders the .docx with docx-preview into an off-screen element, then injects DOMPurify-sanitized HTML into the live DOM (keeping