summary refs log tree commit diff
path: root/src/EventAccessors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/EventAccessors.cpp')
-rw-r--r--src/EventAccessors.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/EventAccessors.cpp b/src/EventAccessors.cpp
index 4d8b7b8f..f77c41e7 100644
--- a/src/EventAccessors.cpp
+++ b/src/EventAccessors.cpp
@@ -396,7 +396,9 @@ mtx::accessors::formattedBodyWithFallback(const mtx::events::collections::Timeli
     if (!formatted.empty())
         return QString::fromStdString(formatted);
     else
-        return QString::fromStdString(body(event)).toHtmlEscaped().replace(QLatin1String("\n"), QLatin1String("<br>"));
+        return QString::fromStdString(body(event))
+          .toHtmlEscaped()
+          .replace(QLatin1String("\n"), QLatin1String("<br>"));
 }
 
 std::optional<mtx::crypto::EncryptedFile>