The WordPress auto-paragraph function (wpautop) adds line breaks to content that is in between opening and closing shortcodes.
This lightweight plugin removes those unintended line breaks before the shortcode is rendered, so you can place shortcodes on separate lines, similar to HTML formatting, to improve their readability in the post editor.
You can select which shortcodes to un-line-break on the settings page.
It will not remove any
<br> tags that you have added manually.
It will not format the shortcode content as in the following examples; you must still do that.