This project has moved. For the latest updates, please go here.

Hidden characters from copy and paste

Mar 30, 2010 at 12:37 AM

Hi, I just noticed that when I cut and paste text from work 2007 or open office it brings it copies the hidden xml data with it. It doesn't show up visually, but when you view the source you can see it all and it all. I noticed this problem because I have set my max characters to 600, and when I cut and paste a couple of lines from word 2007 it ends up being around 24,000 characters. Whats going on? Anyone know how I can fix this? Thanks

Apr 8, 2010 at 4:39 PM

 MS Word formatting is terrible. To fix it, you need to strip the HTML. I found this function to be useful

You can run this function when you extract the content from jHtmlArea for saving it. Or you can provide a special button to convert Word document on the toolbar.


Abhi Muthiyan
Co-founder, CTO
Patagonia Health