diff --git a/modules/Lith/Core/formattedstring.cpp b/modules/Lith/Core/formattedstring.cpp index cc04991..3a7f127 100644 --- a/modules/Lith/Core/formattedstring.cpp +++ b/modules/Lith/Core/formattedstring.cpp @@ -142,7 +142,7 @@ QString FormattedString::Part::toHtml(QStringView fullText, const ColorTheme& th } } } else { - finalText = text(fullText, -1).toString(); + finalText = text(fullText, trim).toString(); } ret.append(finalText.toHtmlEscaped());