You are not logged in.
Hi,
I have some text in a file that I load into the page and into the Xinha editor in a textarea (all part of an HTML page generated by a Perl script). The text in the file contains the following link code:
<a href="http://www.^accountdomain^/cgi-bin/xxxxxxxxxxx">
When I load this into the editor, and then switch to HTML code view mode, it shows the href as follows:
<a href="http://www.%5eaccountdomain%5e/cgi-bin/xxxxxxxxxxx">
And when I save the contents of the editor (without making any changes) back to the file, it is of course written out with the caret symbol replaced by %5e.
The problem is that when another script displays the contents of the editor as part of an HTML page, my script looks to translate the special code ^accountdomain^ into the user's web site domain (or subdomain) which is has stored internally.
So, is there a way to tell Xinha NOT to convert the caret (^) or any other symbols (don't know if this happens to other chars as well) to %-hex values?
Thanks!
Offline
But if I read the text into a regular textarea (not using the Xinha editor), the caret symbols (^) are not translated to %5e, even in Internet Explorer.
Offline