Kevin, this required a couple very minor changes, will be in the next
release. If you are interested I made the following changes for this:

1) Added a $saveescapes=true parameter to the BOLTsavepage function
(engine 1758)
2) Made the saveescapes process dependent on that setting (engine 1786)

                if ($saveescapes) $newcontent = BOLTsaveEscapes($newcontent, 
$page);

3) Changed the inner section of the following snippet in commands, 598 or so.

        if (!BOLTauth($in, $BOLTid, 'write')) BOLTabort("unstamp_fail_auth",
"~$value");
        $content = BOLTloadpage($out, $BOLTstampsDir);
        BOLTsavepage($in, $content, '', true, true, false);
        BOLTmsg('unstamp_success', "~$in");

If you will notice, here I actually cut out two lines. No longer
needed due to improvements in the loadpage and savepage functions. It
will also affect functionality for the better. Now only the page
content gets overwritten, whereas before the page also reverted to
whatever data values the stamped page had. Since we're making no
claims or efforts to stamp data values this is the proper approach.

Cheers,
Dan


On Fri, Oct 30, 2009 at 7:05 AM, Kevin <[email protected]> wrote:
> Found that when a page was undone using undo, the code changed...
>
> Code like:
>
> <div class="notice">**Mission Statement**
> To provide comprehensive services which will enhance the range of acceptable
> options available to the consumer and improve the quality of life of persons
> with disabilities. To work on behalf of the objectives of the disability
> rights and independent living movement.</div>
>
> Changes to code like:
>
> &lt;div class="notice">**Mission Statement**
> To provide comprehensive services which will enhance the range of acceptable
> options available to the consumer and improve the quality of life of persons
> with disabilities. To work on behalf of the objectives of the disability
> rights and independent living movement.&lt;/div>
>
> When using undo...
>
> Anything with <...> in it gets changed to &lt;...>  Which then changes the
> page so they output <...> but don't act like it.
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to