[pmwiki-users] PageTextVariables and trailing spaces

Simon s-i-m-o-n at paradise.net.nz
Wed Jul 25 05:40:05 CDT 2007


See and vote for http://pmwiki.org/wiki/PITS/00880

See also the 'Usage notes' at the bottom of
http://pmwiki.org/wiki/PmWiki/PageTextVariables
Simon

blues wrote:
> i am having some troubles with PTVs and trailing spaces.
> using:
>
> (:var: My Text:)
> '{$:var}'
>
> the output is 'My Text', correct.
>
> but if in the text of the var there are ONE OR MORE spaces between the  
> text and the :) that closes the markup, then ONE space is added and output  
> is 'My Text '.
>
> is this intended?
>
> blues
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>   




More information about the pmwiki-users mailing list