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

Editor: Fix CRLF problem. #22601

Merged
merged 1 commit into from
Sep 28, 2021
Merged

Editor: Fix CRLF problem. #22601

merged 1 commit into from
Sep 28, 2021

Conversation

linbingquan
Copy link
Contributor

Related issue: #---

Description

// doesn't work in CRLF case
content = content.replace( '\n\t\t\t/* edit button */\n', editButton ); 

// work in CRLF case and LF case
content = content.replace( '\t\t\t/* edit button */', editButton ); 

image

@mrdoob mrdoob added this to the r133 milestone Sep 28, 2021
@mrdoob mrdoob merged commit fac5b5e into mrdoob:dev Sep 28, 2021
@mrdoob
Copy link
Owner

mrdoob commented Sep 28, 2021

Thanks!

@linbingquan linbingquan deleted the dev-editor-publish branch February 13, 2022 08:38
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.

2 participants