Open ganfra opened 6 months ago
The viewModel.getMarkdown() method returns invalid string when there are mentions.
viewModel.getMarkdown()
Html : <a href=\"https://matrix.to/#/@ganfra:matrix.org\">ganfra</a> Test message
<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
<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
<a>
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