Merge pull request #742 from vector-im/feature/fix_739

Fixes #739
This commit is contained in:
Benoit Marty 2019-12-06 17:10:54 +01:00 committed by GitHub
commit ff1745b5dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ Other changes:
-
Bugfix 🐛:
-
- When automardown is ON, pills are sent as MD in body (#739)
Translations 🗣:
-

View File

@ -78,7 +78,7 @@ internal class LocalEchoEventFactory @Inject constructor(
val htmlText = renderer.render(document)
if (isFormattedTextPertinent(source, htmlText)) {
return TextContent(source, htmlText)
return TextContent(text.toString(), htmlText)
}
} else {
// Try to detect pills