OceanWP_IG_Widget

Shortcode in a text editor. (The same shortcode that’s being used in the portfolio sidebar.)

Since the My Library template works fine here, there must be something about the sidebar coding that is adding an extra paragraph to the Ocean IG widget.

footer 1

This contains the code snippet created within the Ocean IG plugin. 

When the Ocean IG plugin is placed in a sidebar or footer extra paragraphed anchors are created.

left sidebar

This contains the an Elementor My Library template containing the Ocean IG plugin. 

When the Ocean IG plugin is placed in a sidebar or footer extra paragraphed anchors are created.