ePhox Editor problem

After we went to 6.5.2, we noticed that editor is replacing “<” with “<” and it is breaking some javascript on the published page. Here is an example:

This is what it should be and whats being entered in the editor:

<a href="http://my24.24hourfit.com/articles/category_mgmt_page.shtm?wt_name=<wt_name>

What publishes:

<a href="http://my24.24hourfit.com/articles/category_mgmt_page.shtm?wt_name=<wt_name>

This is breaking javascript on the published page.

I guess this forum screws up the code as well, I’ll try again:



should be:

<a href="http://my24.24hourfit.com/articles/category_mgmt_page.shtm?wt_name=<wt_name>

what publishes:

<a href="http://my24.24hourfit.com/articles/category_mgmt_page.shtm?wt_name=<wt_name>



Nevermind, it won’t display my code.

Do you mean that it is replacing the less-than symbol with the corresponding character entity (i.e., an ampersand. followed by “lt”, followed by a semi-colon)? Is the less-than symbol inside a JavaScript string literal, which is inside a script tag? Do you only see the character entity on the published page, and not in the EditLive control when you edit the content item?

If the answers are all “yes,” I have been experiencing the same thing with version 6.7.0.

-John

We’ve had this problem also. In order to fix it we created a new field that used the sys_TextArea control when javascript was needed on a page. In this field we would typcially create a function. Then in the ephox filed we would just a small piece of javascript to execute the function from sys_TextArea.