Files
amethyst/commonsUI
Claude 487269e54f fix(richtext): drop the blank line under a trailing link card or media
A URL at the end of a line followed by "\n\n" rendered as text, the
preview card on its own row, then an empty text line, then the next
paragraph: the card already ends the row, so the author's blank line
doubled the gap. The shared RichTextViewer now drops the one blank
paragraph that directly follows a paragraph ending in a block (link
preview when canPreview, image/video/PDF/base64 always), matching what
GalleryParser already does for standalone image lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A3S1Fq6pvfTyFxwgrTGpVG
2026-10-02 12:59:06 +00:00
..