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

Line breaks are not preserved #17

Open
Sayan751 opened this issue Sep 19, 2018 · 0 comments
Open

Line breaks are not preserved #17

Sayan751 opened this issue Sep 19, 2018 · 0 comments

Comments

@Sayan751
Copy link

Actual

textVersion("<p>line1<br><br><br>line2</p>") outputs line1\nline2\n.
Runkit notebook: https://runkit.com/sayan751/5ba1fab47a5446001221d859

Expected

textVersion("<p>line1<br><br><br>line2</p>") outputs line1\n\n\nline2\n.

Line breaks should have been preserved.

ShivamKJJW added a commit to ShivamKJJW/textversionjs that referenced this issue Nov 22, 2019
It has the potential fix for text conversion persisting to line breaks in repeated scenarios ex - <p>line<br><br></p>.
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