Thursday, March 15, 2007, 5:56:04 PM, Patrick wrote:

> I've also enabled the recipe on the Cookbook/LiteralWhiteSpace
> page on pmwiki.org.  (Note that there seems to be an issue
> handling Site.PageActions when the recipe is included.)

> Also, the recipe sets

>     $RecipeInfo['IntuitiveSpacing'] = '2007-03-15';

> In order for RecipeCheck to work, this needs to be

>     $RecipeInfo['IntuitiveSpacing']['Version'] = '2007-03-15';

Thank you! But it seems this script is not ready for release yet.

There are two issues when using the pmwiki skin:
1. wrapping of code is not working.
   I don't know if you set $EnableWrapCode = 1; for the page
   Cookbook/LiteralWhiteSpace. If not could you do this please?

   I mended the HTMLStylesFmt for prewrap in the script to read:

  $HTMLStylesFmt['prewrap'] = "
  pre.escaped, code.escaped {   
   
  I needed to add the class 'escaped' to pre and code, in order to
  override the pmwiki core setting.

2. Site.PageActions content has  a number of extra spaces, which the
   recipe script eagerly converts to  , thereby
   a) messing up the style markup,
   b) making it into a very long line.
   Taking out the extra spaces fixed the problem.

I uploaded an update of whitespace.php

Could you please reinstall it, including setting
$EnableCodeWrap = 1;

I will change Site.PageActions, and put on the recipe page some
Sandbox text.


Thanks!

Hans


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

Reply via email to