I wrote a little code snippet to help you inline SVGs in #WordPress this morning and shot off a little blog post about it. It uses the fantastic new HTML Tag Processor in WordPress 6.2. https://aurooba.com/inline-svgs-in-your-wordpress-code-with-this-helper-function/