Hello,
I am doing this:
[tabs]
[tab]something[/tab]
[tab]something[/tab]
[tab]something[/tab]
[/tabs]
but this generates this when the input was done through a WYSIWYG:
<p>[tabs]</p>
<p>[tab]something[/tab]</p>
<p>[tab]something[/tab]</p>
<p>[tab]something[/tab]</p>
<p>[/tabs]</p>
And the shortcode will finally generate something like this:
<p><ul id="tabs16084068915098" class="nav nav-tabs "></p>
<p><li class="nav-item ">
<a class="nav-link " id="16084068912629" data-toggle="tab" role="tab" href="#tab16084068912629">
Tab1
</a>
</li>
<div id="tab16084068912629" class="tab ">Tab1 content</div></p>
<p></ul></p>
producing extra
elements and making a non HTML valid list
How do we handle this situation?
Hello,
I am doing this:
but this generates this when the input was done through a WYSIWYG:
And the shortcode will finally generate something like this:
producing extra
elements and making a non HTML valid list
How do we handle this situation?