[pmwiki-users] Starting #anchor always included

tkcusr tkcusr at yahoo.com
Sat Feb 19 09:35:37 CST 2011


Hello,
I have a weird problem using include directive.
The markup on a page is as follows:

(:if false:)
[[#start]]
* aaa
* bbb
* ccc
[[#end]]
(:ifend:)

(:include {$Name}#start:)


That's rendered into HTML as follows:

<p class='vspace'>
     <a name='start' id='start'></a>
</p>
<ul>
     <li>aa</li>
     <li>bb</li>
</ul>


The problem is starting anchor is always included, which I don't want 
(cause <p> breaks style of the list containing div).
How can I eliminate that anchor from rendered target? or is this a bug?

Thanks.






More information about the pmwiki-users mailing list