mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-07-27 20:12:41 +02:00
17398e8e41
The Quote button produced `@[user] »text« ` — a shape mc-webui invented back when it could not send newlines, and one that other MeshCore clients neither write nor understand. It now writes the quote on its own line behind a '>' and leaves the cursor underneath it, matching the plain-text convention some users already type by hand. processQuotes() styles both syntaxes, so messages sent by older builds keep their formatting. The '>' match is anchored to a line start or a leading @[mention] badge and looks for the escaped '>', so neither "5 > 3" in prose nor the brackets of generated tags can trigger it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>