Yes, in my first piece of code I was wrapping the output svg with <svg> tags, but I’ve since changed it because I’m utilizing the svg plugin with ACF image fields, which outputs correctly. That’s why I said disregard the <img> tags. Even if I take these <img> tags out the acf field still appends outside of the <div> wrappers.
In the screenshot what your seeing is the hardcoded svg output between the div wrappers and the acf text field svg gets bumped outside of those. The <span> tag is wrapping the text of the <a> tag.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users