[pmwiki-users] Variables expansion oddity in titles and pagelists

Christophe David pmwiki at christophedavid.org
Thu Jun 28 04:50:38 CDT 2007


When using  (:title $ton:) or (:title $kilo:)

(in fact any title beginning with $t or $k, and probably other letters
or sequences  too)

and then generating a pagelist using {=$Title}, the result is not what
is expected.

Apparently $t and $k are expanded first, then the rest of the string
is appended.

Apparently, starting a title with other characters like \ or { seem
also to create problems in certain circumstances, but this is not
certain yet.

A possible solution might be to encode/escape special characters in
the "title=" line of the files in wiki.d like title=$ton

Any similar experiences ?

Christophe



More information about the pmwiki-users mailing list