Petko Yotov wrote:

(possible to suppress <!--PageHeaderFmt--> etc. in HTML output?)

>Not with a PmWiki variable or something like this because the way the  
>template is printed, it does not know if later there wouldn't be some  
>function trying to insert HTML into the header.

I see, thanks.

Is it true that the HTML comments are not needed by a later processing
step (after processing of skins.php resp. PrintSkin)?

If so, in skins.php line 117:

 $TmplFmt[$ps][] = "<!--$k-->";

it might be possible to make the output conditional, e.g.

  if(!isset($TmplDisplay['HTMLcomments']))
    {$TmplFmt[$ps][] = "<!--$k-->";}

(a better name for the TmplDisplay flag should be chosen)

Oliver
-- 
Oliver Betz, Munich http://oliverbetz.de/


_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to