-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
 for every space at reload #248
Comments
If I head to guess, I'd bet it's because you're not setting your encoding to utf-8 via If that doesn't fix it, what version of the editor are you using? |
To be clear, does this reproduce for you on http://epiceditor.com ? |
@gankro I can reproduce this in the minified code with or without the meta tag, but not the unminified code. It'd be rad if you could take a look or have time. Unfortunately I can't right now :( |
The issue is this line:
in _setText. The minifier is replacing |
Dammit. I think I opened an issue about this before. I'll just manually put it back and push for a hot fix and figure out a "real" fix. |
I had to manually edit the version numbers, and I did NOT build with jake build. Instead I manually edited the .min file.
Ticket #248 - Hotfix for weird characters in minified code.
Fixed by #249 |
Note: if you make a change and rebuild, this issue may reappear in your .min.js. We should find a way to resolve this properly. That said, I only use the .js for various reasons, so this isn't high on my todos. |
Yep, I'm going to try upgrading uglify or look for another minifier this weekend. I'll need to run the specs against the new minifier / uglify upgrade too. |
Browser: Chrome 27
System: OSX 10.8.3
Typed some text into the editor.
body:
Some written text
If I reload the page it adds an extra  symbol for each space every time. After 5 reloads I would end up with something like this.
body:
SomeÂÂÂÂÂ writtenÂÂÂÂÂ text
The text was updated successfully, but these errors were encountered: