Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Ignore permalink_prefix when serializing Markdown #11725

Closed
wants to merge 4 commits into from

Conversation

herkulessi
Copy link
Contributor

@herkulessi herkulessi commented Oct 9, 2023

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

fixes element-hq/element-web/issues/26002

During serialization of messages, pills were wrongfully serialized to a URL
starting with permalink_prefix. This is against the Spec (which mandates
https://matrix.to/#/ links) and the resulting pills were not recognized as
pills in other clients.

Spec-Appendix concerning matrix.to links: https://spec.matrix.org/v1.8/appendices/#matrixto-navigation

Signed-off-by: Lars Wickel [email protected]


This PR currently has none of the required changelog labels.

A reviewer can add one of: T-Deprecation, T-Enhancement, T-Defect, T-Task to indicate what type of change this is, or add Type: [enhancement/defect/task] to the description and I'll add them for you.

herkulessi added 4 commits October 9, 2023 19:05
fixes element-hq/element-web/issues/26002

During serialization of messages, pills were wrongfully serialized to a URL
starting with `permalink_prefix`. This is against the Spec (which mandates
https://matrix.to/#/ links) and the resulting pills were not recognized as
pills in other clients.

Spec-Appendix concerning matrix.to links: https://spec.matrix.org/v1.8/appendices/#matrixto-navigation

Signed-off-by: Lars Wickel <[email protected]>
Signed-off-by: Lars Wickel <[email protected]>
@herkulessi herkulessi requested a review from a team as a code owner October 9, 2023 17:57
@github-actions
Copy link

github-actions bot commented Oct 9, 2023

Thanks for opening this pull request, unfortunately we do not accept contributions from the main branch of your fork, please re-open once you switch to an alternative branch for everyone's sanity. See https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md

@github-actions github-actions bot closed this Oct 9, 2023
@github-actions github-actions bot added the Z-Community-PR Issue is solved by a community member's PR label Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mentions shouldn't follow permalink_prefix
1 participant