Online Page Editor Add-on Support Product Page

Editing text changes links and classes

Reported 10 Apr 2011 19:27:54
1
has this problem
10 Apr 2011 19:27:54 Robert McCormick posted:
Mac OSX 10.6.7
Safari 5, Firefox 4
Dreamweaver CS5

After playing with the editor for a couple of days and testing out the tutorials everything was looking fine.
Decided to try on live site and made home page editable to allow client to change text himself, so far so good.
The text being edited has two links in it and the header is formatted with h1 and h2
After editing, h1 and h2 tags have been changed to \h1\ and \h2\, and the links have been altered to have \ added before and after ?

I hope this is a minor bug, or must we ensure no links are in the editable area.

Excerpt before edit:-
If you have any requests or requirements, please do not hesitate to <span id="Contact"><a href="contact.htm">Contact</a></span> me.<br><br>

After edit
If you have any requests or requirements, please do not hesitate to <span id=\"Contact\"><a href=\"contact.htm\">Contact</a></span> me.
<br>
<br>


Thanks

Robert

Replies

Replied 12 Apr 2011 16:16:45
12 Apr 2011 16:16:45 Teodor Kuduschiev replied:
Dear Robert,

Could you please provide a link to your page and send me the login details to So i can check if this is a problem with your page?
Replied 12 Apr 2011 17:03:31
12 Apr 2011 17:03:31 George Petrov replied:
Hi Robert,

The issue is that your PHP server seems to have "magic quotes" enabled.

In the next update of Online Page Editor we will add this compatibility as well.

For now you can just switch those off:
php.net/manual/en/security.magicquotes.disabling.php

It is deprecated in PHP 5.3 anyway.

Thanks for reporting.

Greetings,
George

Reply to this topic