diff options
Diffstat (limited to 'src/mumble/Markdown.cpp')
-rw-r--r-- | src/mumble/Markdown.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mumble/Markdown.cpp b/src/mumble/Markdown.cpp index 3f60acb77..053ed3963 100644 --- a/src/mumble/Markdown.cpp +++ b/src/mumble/Markdown.cpp @@ -351,7 +351,7 @@ QString markdownToHTML(const QString &markdownInput) { // Replace linebreaks afterwards in order to not mess up the RegEx used by the // different functions. static const QRegularExpression s_lineBreakRegEx(QLatin1String("\r\n|\n|\r")); - htmlString.replace(s_lineBreakRegEx, QLatin1String("</br>")); + htmlString.replace(s_lineBreakRegEx, QLatin1String("<br/>")); // Resore linebreaks in <pre> blocks htmlString.replace(regularLineBreakPlaceholder, QLatin1String("\n")); |