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

preserve exact <br>\n sequence after editing #1859

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

githubertus
Copy link
Contributor

@githubertus githubertus commented Mar 2, 2021

a fresh load of a 2 lines comment gives
line1 <br>\n line2
without this change after ajax edit it becomes
line1 <br> line2
we didn't notice that up to now because the broswer's display is still correct
but it does confuse the Readmore component which relies on the original sequence

currently Readmore is overwriting the original action, but I want to get rid of that with the next Ossn release

a fresh load of a 2 lines comment gives
line1 <br>\n line2
without this change after ajax edit it becomes
line1 <br> line2
we didn't notice that up to now because the broswer's display is still correct
but it does confuse the Readmore component which relies on the original sequence

currently Readmore is overwriting the original action, but I want to get rid of that with the next Ossn release
@lianglee lianglee merged commit 5bdf7dc into opensource-socialnetwork:v5.x Apr 9, 2021
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