Yii EDITME extension line feed problem

Hello guys !

I’ve noticed after saving a form using EDITME while saving the editor html code in the database (mysql for this matter) a new line is insert just after the HTML, similar to a line feed.

For example, in the editor I write "Hello World" , checking its source code it goes:

<p>Hello World</p>

…and the cursor stays here…

Going to the record in the database I notice that a blank line is there also.

My code is crashing because of that issue and I’m pretty sure of that.

Is this behaviour inherit of EDITME, a bug,… ? Do you guys know a work around ?

Thank you very much!