Hello! I posted this on #general and they said to post it here.
I'm playing around with Astro for the first time, and something very weird is happening. It could be a bug, in which case I'll open an issue, but I can't help but feel I must be missing something obvious...
- I start with
npm create astro@latestand accept recommended settings - Start the dev server with
npm start - Inspect the index page in dev tools
- Here's the problem: html text has leading and trailing whitespace.
- It's as if the whitespace from the editor isn't being trimmed - it only happens when the editor (vscode on wsl2 in my case) auto-formats the opening and closing tag on different lines.
(see image)
So... am I being an idiot and missing something, or shall I open an issue?