[pmwiki-users] A scripts/forms.php glitch

Dominique Faure dominique.faure at gmail.com
Thu Sep 7 04:10:13 CDT 2006


Editing the Site.EditForm page, then triggering "Save and Edit", I saw
my page trashed with an initial "pat=/^\(:e_preview:\)/e" prepended to
the html output.

Digging around a bit more, it seems that I hit a case where
$FmtV['$PreviewText'] is used before been initialized (setting
$FmtV['$PreviewText'] = ''; in config.php corrected this).

This may be worth an official patch.


More information about the pmwiki-users mailing list