[pmwiki-devel] Anomaly in ROE pattern?

Patrick R. Michaud pmichaud at pobox.com
Mon May 5 07:14:53 CDT 2008


On Sun, May 04, 2008 at 05:36:47PM -0400, Henrik Bechmann wrote:
> Patrick,
> 
> It appears that ROEPatterns (unexpectedly) changes text on save, not 
> just on load, when in scope of the ROE pattern. Is this as designed?

Yes, this is as designed.  A ROS pattern should be replaced only
when someone saves a page, so that repeatedly hitting preview will
continue to show the non-replaced markup.

A ROE pattern should do the replacement when someone hits preview.
However, it should also do the replacement if someone never hits
preview -- i.e., if someone enters a ROE pattern and goes directly 
to save without hitting preview, then the replacement should 
still take place.

Pm



More information about the pmwiki-devel mailing list