From: Jack Allnutt Date: Sat, 25 May 2013 21:02:56 +0000 (+0100) Subject: Fix broken italics handling X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2cb3c82ef8e8f3e2c9f4c62f2470f6a9bd4b8321;p=KiwiIRC.git Fix broken italics handling --- diff --git a/client/assets/src/helpers/utils.js b/client/assets/src/helpers/utils.js index 1560d34..75875ee 100644 --- a/client/assets/src/helpers/utils.js +++ b/client/assets/src/helpers/utils.js @@ -341,7 +341,7 @@ function formatIRCMsg (msg) { currentTag = spanFromOpen(); break; case '\x1D': - if (an(openTags.bold || openTags.italic || openTags.underline || openTags.colour)) { + if ((openTags.bold || openTags.italic || openTags.underline || openTags.colour)) { out += currentTag + ''; } openTags.italic = !openTags.italic;