mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 03:38:23 +00:00
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