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

Single blank lines in initial editor content are doubled. #756

Closed
davelozier opened this issue Jun 20, 2016 · 0 comments
Closed

Single blank lines in initial editor content are doubled. #756

davelozier opened this issue Jun 20, 2016 · 0 comments

Comments

@davelozier
Copy link

Single lines <p><br></p> in initial editor content are doubled to <p><br></p><p><br></p>. Also, an extra blank line is added to the end of the initial content.

Steps for Reproduction

  1. Visit http://codepen.io/davelozier/pen/KMgNze
  2. Within the HTML you can see that there are no double blank lines nor one at the end of the initial content being edited.
  3. Observe that the editor itself shows double blank lines in place of the single ones and has an additional blank line being appended to the initial content being edited.

Expected behavior: Single blank lines in initial content should not be doubled. No additional blank line should be appended to the initial content being edited.

Actual behavior: Single blank lines in initial content are doubled. An additional blank line is appended to the initial content being edited.

Platforms: Chrome 51 on Linux (Ubuntu 16.04) - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

Version: 1.0.0-beta.5

@jhchen jhchen closed this as completed in 4657356 Jun 20, 2016
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

No branches or pull requests

1 participant