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

MATRIX-7880: update new lines handling #2

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

sirenevenkii
Copy link
Collaborator

@sirenevenkii sirenevenkii commented Sep 12, 2024

Ticket

update new lines handling.
I think that this change actually causes quite heavy consequences, in a way that it will no longer be able to handle "prettified" html (with new lines between the tags, see previous version of "removes deleted closing-opening tag pair" spec). but since we're in full control of the html we're passing there, I'll make sure that we have a correct structure here (it actually already looks like we have a proper structure everywhere, but I would not rely on it staying that way)
https://github.com/MatrixRequirements/matrix-client-server/blob/ce05bdc0f81ec03f77fc9fae9fead51151ea95c6/server/Clouds/client/ts/sdk/utils/differs/diffHtml.ts#L23-L31

Screenshot 2024-09-12 at 17 30 35

@sirenevenkii sirenevenkii merged commit 98d1690 into develop Sep 13, 2024
1 check passed
@sirenevenkii sirenevenkii deleted the MATRIX-7880-update-new-lines-handling branch September 13, 2024 11:31
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