On Wed, Oct 7, 2009 at 8:50 AM, blues <[email protected]> wrote:
>
> On Oct 7, 3:12 pm, The Editor <[email protected]> wrote:
>> It seems to be a problem/feature of how html works. If you create a
>> page, save to it and save. It will be saved unchanged in the
>> source. If you edit it, and look at the html source of the output
>> page, it is still there inside the text box--but the text box displays
>> it as a regular space. Which is what BoltWire gets back when the form
>> is submitted the second time.
>
> usually other cms use to convert any & in & when rendering the
> html. that way will be converted in &nbsp; in the html
> source of the textbox, thus being displayed correctly
> hope this helps.
Right, but then I need to unconvert about 5 or 6 entries back, which
are supposed to be escaped, but invisible in the output.
BOLTreplace('~~', '~~');
BOLTreplace('$', '$');
BOLTreplace(''', '\'');
BOLTreplace('"', '"');
BOLTreplace("\r\n", "\n");
BOLTreplace("\r", "\n");
BOLTreplace('~data~', '~data~');
BOLTreplace('<', '<');
And some only in certain situations... Like code pages...
So this is easier but if we need a more thorough solution, we can do it.
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---