Hm. It's probably a Header Tabs question, not SMW, but I'll try to look into this - it seems that MediaWiki tries to put too wrap Header Tabs code into <p> without giving it any chance to do that differently.

            Sergey


On Mon, Jun 16, 2008 at 5:08 AM, Alex Le Bek <alexlebek@googlemail.com> wrote:
Hi,
Does anyone know how to prevent #switchablink inserting it's tab link inside <p> </p> tags?
 
wiki markup:
* Find out what a dissertation means in your subject and its {{#switchtablink:Structure|Structure}}
 
returns html:
<ul><li> Find out what a dissertation means in your subject and its </li></ul>
<p><a href="#tab=Structure" onclick="return HeaderTabs.switchTab('Structure')">structure</a></p>
 
I want:
<ul><li> Find out what a dissertation means in your subject and its  <a href="#tab=Structure" onclick="return HeaderTabs.switchTab('Structure')">Structure</a></li></ul>

I have looked at the headertabs.php and css and can't see this being inserted.
 
Thanks
                      Alex

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel




--
Sergey Chernyshev
http://www.sergeychernyshev.com/