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

Markdown returned by viewModel.getMarkdown() is broken with mentions #911

Open
ganfra opened this issue Dec 21, 2023 · 0 comments
Open

Markdown returned by viewModel.getMarkdown() is broken with mentions #911

ganfra opened this issue Dec 21, 2023 · 0 comments

Comments

@ganfra
Copy link
Contributor

ganfra commented Dec 21, 2023

The viewModel.getMarkdown() method returns invalid string when there are mentions.

Html : <a href=\"https://matrix.to/#/@ganfra:matrix.org\">ganfra</a> Test message

Markdown : <a data-mention-type=\"user\" href=\"https://matrix.to/#/@ganfra:matrix.org\" contenteditable=\"false\">ganfra</a> Test message

It shouldn't contain the <a> tag

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant