summaryrefslogtreecommitdiff
path: root/src/modules/chat/chat_rtf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/chat/chat_rtf.cpp')
-rw-r--r--src/modules/chat/chat_rtf.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/chat/chat_rtf.cpp b/src/modules/chat/chat_rtf.cpp
index 0758f8bff3..2cff984c84 100644
--- a/src/modules/chat/chat_rtf.cpp
+++ b/src/modules/chat/chat_rtf.cpp
@@ -201,6 +201,9 @@ int DoRtfToTags(CMString &pszText, int iNumColors, COLORREF *pColors)
}
}
+ if (bInsideUl)
+ res.Append(_T("[/u]"));
+
pszText = res;
return TRUE;
}