[pmwiki-users] New Recipe: IntuitiveSpacing

Hans design5 at softflow.co.uk
Thu Mar 15 14:15:30 CDT 2007


Thursday, March 15, 2007, 5:56:40 PM, Ben wrote:

> To: Markup('spacing', '>^ws', "/(\\s{1,5})/e", "str_replace(' ',
> ' ', '$1');");

Thanks! I needed to change it slighly, otherwise it converts all
spaces, and does not allow wrapping (extra space in front of
str_replace):

Markup('spacing', '>^ws', "/(\\s{2,7})/e",
        " str_replace(' ',' ', '$1');");


Hans




More information about the pmwiki-users mailing list