I have a shortcode which accepts basic HTML tags as shortcode attribute.
When this shortcode is used in the shortcode block i.e within
<!-- wp:shortcode --> then unbalanced
<p> tags are added to the shortcode attribute.
If it is used normally, then no
<p> tags are added.
Are there any workarounds which can be done to avoid this issue ?
Output (notice the
<p> tags added for no reason in the second array)