tiff / wysihtml5

Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
http://xing.github.com/wysihtml5/
MIT License
6.5k stars 1k forks source link

none-breaking-space-itis #245

Open Mipme opened 11 years ago

Mipme commented 11 years ago

Anybody experiencing the flooding of html code with   instead of a normal space. I haven't nailed it down to specific use cases, but my experience is that the editor uses none breaking space every time , especially before new tags and at least in Safari.

Is this intentional? Can anybody elaborate on this? Or shall we dig into it?

Wombat-AU commented 11 years ago

It has always been my experience all wysiwyg editors suffer the same fate... more a product of the browser inteface and not the sripting.

DmitryEfimenko commented 11 years ago

I've run into this issue when just typed "word " without quotes, copied it and pasted it multiple times. The space got replaced with   in every instance. Used Chrome 20 or so (updated it a bunch of times already)