Fix broken italics handling
authorJack Allnutt <m2ys4u@gmail.com>
Sat, 25 May 2013 21:02:56 +0000 (22:02 +0100)
committerJack Allnutt <m2ys4u@gmail.com>
Sat, 25 May 2013 21:02:56 +0000 (22:02 +0100)
client/assets/src/helpers/utils.js

index 1560d3451bb95168daf7b0aa3b5011a8939e8a0f..75875eef2be0060dbff40c38ea030ef546d20bb2 100644 (file)
@@ -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 + '</span>';
             }
             openTags.italic = !openTags.italic;