Whitespace in Astro 7.0

Whitespace in Astro 7.0 图片 1

🫧 Open on Bubbles There’s some new default whitespace handling in the latest version of Astro! I noticed that when I updated my blog template (this blog! Right here!) to the new Astro 7.0 , a bunch of words and spacing were broken up in weird ways. Turns out, in the brand new Rust compiler, there’s some very specific JSX changes. Before, if you had two elements one after the other, like so: < span > Howdy < span > y'all It would render as “Howdy y’all” on the page. But, in version 7.0, i

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论