Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 18fe183e authored by Laurent Montel's avatar Laurent Montel 😁

Fix Bug 392520 - Long URLs are not clickable in plaintext message viewer

FIXED-IN: 5.8.0
BUG: 392520
parent 17533541
......@@ -59,7 +59,7 @@ QString HeaderStyleUtil::directionOf(const QString &str) const
QString HeaderStyleUtil::strToHtml(const QString &str, KTextToHTML::Options flags) const
return KTextToHTML::convertToHtml(str, flags);
return KTextToHTML::convertToHtml(str, flags, 4096, 512);
// Prepare the date string (when printing always use the localized date)
......@@ -278,14 +278,14 @@ void quotedHTML(const QString &s, MessageViewer::RenderContext *context, Message
htmlWriter->write(QStringLiteral("<font color=\"%1\">")
htmlWriter->write(KTextToHTML::convertToHtml(line.right(rightString), convertFlags));
htmlWriter->write(KTextToHTML::convertToHtml(line.right(rightString), convertFlags, 4096, 512));
} else {
htmlWriter->write(QStringLiteral("<span class=\"quotemarksemptyline\">%1</span>")
} else {
htmlWriter->write(KTextToHTML::convertToHtml(line, convertFlags));
htmlWriter->write(KTextToHTML::convertToHtml(line, convertFlags, 4096, 512));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment