[pmwiki-devel] Page text variables - from other pages and in pagelists

Simon s-i-m-o-n at paradise.net.nz
Fri Feb 9 14:59:39 CST 2007


Patrick R. Michaud wrote:
> On Thu, Feb 08, 2007 at 06:50:39PM +1300, Simon wrote:
>   
>>    First: I had them indented one space (cf Site.Blocklist)
>>     Block: something
>>     Hide:  another thing
>>    Second: I then tried definition lists (in a tidy fashion), viz
>>    : President  : Fred Dagg
>>    : Secretary  : Bruce Bayliss
>>    : Treasurer  : Darleen Colt
>>    : Membership : Joe Smythe
>>
>>    Suggestions welcome
>>     
>
> As is my habit, I started with a restrictive version of a markup
> until we had more experience with it.  (It's much easier to relax
> restrictions over time than it is to add them.)
>
> Based on the above, I think that we ought to allow spaces around
> page text variable names, so that the above would work as expected.
>
> Thoughts, anyone?
>
> Pm
>   

Pm, you approach can't be faulted.
I think this would be a good move.

This should perhaps also apply to the (: pagetextvariablename : page
text variable value :) markup.

See also http://pmwiki.org/wiki/Test/PageTextVariables

I'd like to get peoples thoughts also on
trimming leading and trailing spaces from page text variable values.

Simon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-devel/attachments/20070210/c15b20b2/attachment.html 


More information about the pmwiki-devel mailing list