[pmwiki-users] Re: commented version of wikistyles.php

Patrick R. Michaud pmichaud at pobox.com
Fri Oct 21 15:55:40 CDT 2005


On Sat, Oct 22, 2005 at 09:22:43AM +1300, John Rankin wrote:
> I need to ponder this. My immediate thought is to configure
> wikistyles for print so that for %block% styles it outputs 
> something like <tag><:blockstyle...> instead of <tag ... >
> then add a post-processing rule to look for and change
> <tag><:blockstyle ... </tag> to <tag><style ... > ... 
> </style></tag>.

Instead of the <:blockstyle> tag, can you just have a
post-processing rule that converts

   <tag style='something'>...</tag>

to 

   <tag><style 'something'>...</style></tag>

?  Then you can likely continue to use the existing
wikistyles code. 

Pm




More information about the pmwiki-users mailing list