diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/pills/TextPillsUtils.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/pills/TextPillsUtils.kt index a74ad62007..eff7a4a622 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/pills/TextPillsUtils.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/pills/TextPillsUtils.kt @@ -76,7 +76,7 @@ internal class TextPillsUtils @Inject constructor( if (urlSpan.matrixItem is MatrixItem.EmoteItem) { // Note we use the same template for both HTML and MARKDOWN conversion. We do this since markdown inline images are not mighty enough // for custom emotes (i.e., that would drop the data-mx-emoticon tag, which we want to keep). But we can use inline html in markdown. - val imgHtml = "\":${urlSpan.matrixItem.displayName}:\"" + val imgHtml = "\":${urlSpan.matrixItem.displayName}:\"" append(imgHtml) } else { append(String.format(template, urlSpan.matrixItem.id, displayNameResolver.getBestName(urlSpan.matrixItem)))