diff --git a/client/css/style.css b/client/css/style.css
index ada6a2a4..b8f3c155 100644
--- a/client/css/style.css
+++ b/client/css/style.css
@@ -2085,3 +2085,19 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
#image-viewer .open-btn {
margin: 0 auto 10px;
}
+
+/* Correctly handle multiple successive whitespace characters.
+ For example: user has quit ( ===> L O L <=== ) */
+
+#windows .header .topic,
+#chat .message .text,
+#chat .motd .text,
+#chat .notice .text,
+#chat .ctcp-message,
+#chat .part-reason,
+#chat .quit-reason,
+#chat .new-topic,
+#chat .action-text,
+#chat table.channel-list .topic {
+ white-space: pre-wrap;
+}
diff --git a/client/views/actions/ctcp.tpl b/client/views/actions/ctcp.tpl
index 5b716495..a64a296d 100644
--- a/client/views/actions/ctcp.tpl
+++ b/client/views/actions/ctcp.tpl
@@ -1,2 +1,2 @@
{{> ../user_name nick=from}}
-{{ctcpType}} {{{parse ctcpMessage}}}
+{{ctcpType}} {{{parse ctcpMessage}}}