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

remove unwanted wrap after break tag #17

Merged
merged 2 commits into from
Jul 22, 2017
Merged

remove unwanted wrap after break tag #17

merged 2 commits into from
Jul 22, 2017

Conversation

daxianyu
Copy link
Contributor

@daxianyu daxianyu commented Jun 5, 2017

the origin code will transfer '\n' to '<br>\n', and after every loop, it gets another '<br>'
<p>this is line1 <br>
 and this is line2</p>

<p>this is line1 <br>
<br>
 and this is line2</p>

<p>this is line1 <br>
<br>
<br>
 and this is line2</p>

@jpuri
Copy link
Owner

jpuri commented Jul 22, 2017

Thanks a lot @daxianyu

@jpuri jpuri merged commit 41b7b7d into jpuri:master Jul 22, 2017
@jpuri
Copy link
Owner

jpuri commented Jul 22, 2017

Release draftjs-to-html@0.7.4 has the change.

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.

None yet

2 participants