Hey Guys – ditto on start of this thread’s “nice plugin” – actually, i’ll double that opening and add “really nice plugin” :>)
i’m also glad to see this thread as i thought maybe i was losing it when looking at my code via Firebug as i was working on a custom page so was hyper sensitive about CSS and this paragraph thing was confusing me …
accordingly for whatever it might be worth, here is my take on things in this rogue paragraph dept … note see below for data points re:my test tab content and firebug results …
thus i tried to read your php and js files but there are a number of ascii equivalents / hex code that make finding the offending <p/> tag difficult … i searched the plugin files for the string (i.e., <p/> – and no this is not typo per firebug results below) yet suspect said <p/> tag is being dynamically generated hence the hex codes …
i also suspect that said code might really want to be a <br />
code instead of the <p/> as that would kind of make sense inserting a line break above to better insure proper CSS block separation ..??..
i also found a <br>
that could be improved on line 208 in GTTabs.php … here again i suspect it should be <br />
…
small stuff but totally appreciate the effort to nuke this bug … as we developers know all to well, one misplaced period or comma and the whole thing can crumble as fatal such and such but i digress …
thanks again for really cool, elegant, and useful plugin … to be continued :>) cordially, chuck scott
===============================
Test Tab Content
===============================
[tab:Mass Times]
<h2>Mass Schedule</h2>
hey mom look at me
[tab:Mass Thoughts]
<h2>Mass Thoughts</h2>
hey mom look at me
[tab:Mass Thinking]
<h2>Mass Thinking</h2>
hey mom look at me
[tab:Mass Action]
<h2>Mass action</h2>
hey mom look at me
===============================
Resulting Firebug CSS Report
===============================
<div class="entry-content">
<p/>
<ul id="GTTabs_ul_2317" class="GTTabs" style="display: none;">
<li id="GTTabs_li_0_2317" class="GTTabs_curr">
<a id="2317_0" class="GTTabsLinks" onmouseout="GTTabsShowLinks();" onmouseover="GTTabsShowLinks('Mass Times'); return true;">Mass Times</a>
</li>
<li id="GTTabs_li_1_2317" class="">
<a id="2317_1" class="GTTabsLinks" onmouseout="GTTabsShowLinks();" onmouseover="GTTabsShowLinks('Mass Thoughts'); return true;">Mass Thoughts</a>
</li>
<li id="GTTabs_li_2_2317" class="">
</li>
<li id="GTTabs_li_3_2317" class="">
</li>
</ul>
<div id="GTTabs_0_2317" class="GTTabs_divs GTTabs_curr_div" style="display: block;">
</div>
<div id="GTTabs_1_2317" class="GTTabs_divs" style="display: none;">
</div>
<div id="GTTabs_2_2317" class="GTTabs_divs" style="display: none;">
</div>
<div id="GTTabs_3_2317" class="GTTabs_divs" style="display: none;">
</div>
<script type="text/javascript">
</script>
</div>
– fin –