[pmwiki-users] ZAPchat module completed...back to forms

The Editor editor at fast.st
Sun Nov 26 12:11:49 CST 2006


On 11/23/06, Jiri Hladůvka / OBUTEX <admin at obutex.com> wrote:
> Would you explain the (:keep {$var}:) directive form me, please?
> Is it to be used when saving or when retrieving variables? How it works?
>
> TIA,
> Jiri


Sure, when page data is saved normally, it undergoes certain changes
to prevent various problems.  Specifically:

1) Line returns are changed to [[<<]].
2) ' and " are changes to hex codes.
3) Spaces are changed.
4) Directives are disables by converting :) to hex also.

When you use the keep directive, all of these changes are restored.  I
originally designed it to make the magic box effect possible.  But you
could use it to restore page directives just as easily if you wish.

Cheers,
Caveman


More information about the pmwiki-users mailing list