Enclosing shortcodes create line breaks
If you want to just strip the <br /> from the content then you could modify your function to replace that signature with an empty string. It feels like a dirty hack, but it’s working for me. It’s worth noting that my Chrome tools show <br> but the actual code is rendering <br /> which … Read more