mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
Since the html copied from VS Code is not structured as code but as styled divs for each line, any code copied from it would be pasted unformatted with blank lines between each line of code. This has now been fixed, by detecting VS Code style code blocks by the CSS property `white-space: pre` and pasting the text within as is, as code.
19 KiB
19 KiB