I'm trying to get various icons to show up inline as such:
When I put these icons in as images to text fields, they are automatically wrapped in
tags.
<p>Some text in a sentence</p>
<p><img /></p>
<p>second half of the same sentence</p>
I've found the documentation for the html serializer to remove the
tags, but this causes another issue in that now this is causing the HTML to end up as:
<p>Some text in a sentence</p>
<img />
<p>second half of the same sentence</p>
...which we don't feel will be optimal for SEO. Is there a way to have the HTML all be on the same line and end up more along the lines of:
<p>Some text in a sentence <img /> second half of the same sentence</p>