-
Notifications
You must be signed in to change notification settings - Fork 58
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
space / line break issue when pasting text copied from/to firefox #1502
Comments
This is not true on Linux. |
More info: It appears to happen about every 70 characters, depending on where the nearest space is. |
This works fine in my test -- paste will results two paragraph, not quite like your screenshot. @xebico Which browser did you use ? |
I'm using the latest Firefox -- 60.0.1. And what d'ya know, it doesn't happen in Chrome. I never suspected it could be the browser. Duh! |
In my case, copy the paragraph from https://github.com/typora/typora-issues opened by firefox:
becomes
|
Yeah, I'm still having the problem with both Firefox and Thunderbird (which isn't a surprise). This only happens with Typora. Pasting from Firefox/T'bird into any other program doesn't add those extra spaces. So yeah, something is definitely wonky. |
I have tried with Firefox, but seems not reproducible any more |
So, the extra line break are gone. While extra spaces are still there? |
I never had a problem with line breaks — it was always just an extra space every 70 characters. And yep, those extra spaces keep showing up. Crazy, huh? |
I've the same issue. Only with Firefox and only when pasting with formatting. But if I paste as plain text, no extra spaces are inserted. |
I checked the clipboard with clipview Firefox breaks the lines so there's a space and end of line character. Here's the same thing copied from Edge. |
When copying blocks of text from web pages, Typora will seemingly randomly insert extra spaces between words. Looking at the HTML code of the web pages I copied from, there is no space.
For example, copying this paragraph from https://github.com/typora/typora-issues:
When pasting into Typora, an extra space in inserted between and and discuss and between for and user.
Pasting that same text into another editor (e.g., Notepad++) does not add those spaces. Viewing the source code in Typora simply shows there are two spaces; there's not extraneous code.
I can repeat this from many websites and using any Typora theme. I'm using Typora 0.9.51 on Windows 10.
The text was updated successfully, but these errors were encountered: