Skip to content
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

fix #3270: CRLF not processed when pasting in code block #3272

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

morecup
Copy link

@morecup morecup commented May 23, 2022

Q A
Bug fix? yes
New feature? no
Breaking changes? no
Deprecations? no
New tests added? not needed
Fixed tickets Fixes #3270
License MIT

Description

in win10 endline default
我调试了源码,发现在代码块里粘贴的时候是以原格式粘贴,只有当做一个删除或者其他操作时才会把/r/n转为/n,我认为粘贴时应该对/r/n进行处理。
I debugged the source code and found that when pasting in the code block, it is pasted in the original format. Only when it is used as a deletion or other operation will /r/n be converted to /n. I think /r/n should be processed when pasting.

@morecup morecup changed the title fix #3150: CRLF not processed when pasting in code block fix #3270: CRLF not processed when pasting in code block May 23, 2022
@morecup morecup force-pushed the fix-3270-codeblock-crlf-past-error branch from 3946cdb to 4b131dc Compare May 23, 2022 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRLF not processed when pasting in code block
1 participant