Forum closed. New forum available at http://community.wymeditor.org/

Wymeditor is putting extra tags in file

Support forum for WYMeditor.

Wymeditor is putting extra tags in file

Postby gsilverman on Thu Jul 30, 2009 4:18 pm

I'm using wymeditor in a J2EE application and whenever I save the text in the editor, it puts an extra </img> after every <img> tag in the file.

For example,

Code: Select all
<img src="/images/car.jpg" />


becomes

Code: Select all
<img src="/images/car.jpg" /></img>


Since I am not adding anything to the text, it must be coming from wymeditor. Has anyone experienced this behavior and is there a fix?

I'm using the 0.5 release candidate version.
gsilverman
 
Posts: 1
Joined: Wed Jul 29, 2009 10:42 pm

Re: Wymeditor is putting extra tags in file

Postby Nico on Fri Jul 31, 2009 4:34 pm

Hi,

I never got this kind of bug.
I just tried on a fresh wym install, and I had no such problem.

Did you load plugins ?
If you "console.log" or "alert" the content on the form submit you get this problem ?


This looks like parsing the code as pure XML without the auto closing tags option. Do you use a XML parser on your data after wymeditor's submition ? Maybe your J2EE app does some parsing on the wymeditor's result ?

Nico
Nico
 
Posts: 19
Joined: Tue Jun 23, 2009 6:49 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron