I can get SVGs to load fine… but when content is loaded via AJAX they load blank.
This is specifically happening for me in Chrome (tested on macOS). Firefox and Safari work fine (tested on macOS).
I think this might have something to do with file references, although I've used root for SVG file references ("/").
How can I fix this so SVGs that are loaded via AJAX work in Chrome?
Here is a test case:
https://jaygeorge.co.uk/sandbox/infinite-scroll-with-ajax-and-icons/
When you land on the page please scroll to trigger Infinite Scroll, where more items are loaded. You'll see that the icons are not loading correctly.
P.s. I'd have liked to include a code snippet here or on CodePen, etc. but the content of another file needs to be fetched, so I couldn't get it to work through those systems.