I'm building a website using React with Bun, also Tailwind 4. (Don't think this matters, but anyway)
import logo1 from "./logo_stroke.svg";
import logo2 from './assets/logo_stroke.svg';
....
<img src={logo1} className="h-10 w-20" />
<img src={logo2} className="h-10 w-20" />
They are the exact same logo, but logo1 appears as the broken picture icon, while the other one displays correctly
According to git, there is a difference between the two files as shown.

Can someone explain what happened? All I did was open the SVG with VSC in text format and hit cmd + s. Didn't even modify anything. But git detected it as a change, and the SVG started showing.