From 2d6e050527ebc3723ad8cd7c285e17d927608452 Mon Sep 17 00:00:00 2001 From: Darren Date: Wed, 8 Oct 2014 10:31:42 +0100 Subject: [PATCH] Formatting colourised strings before inserting values --- client/src/helpers/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/helpers/utils.js b/client/src/helpers/utils.js index f0495bc..1aae381 100644 --- a/client/src/helpers/utils.js +++ b/client/src/helpers/utils.js @@ -525,6 +525,7 @@ function styleText(string_id, params) { //style = formatToIrcMsg(_kiwi.app.text_theme[string_id]); style = _kiwi.app.text_theme[string_id]; + style = formatToIrcMsg(style); // Expand a member mask into its individual parts (nick, ident, hostname) if (params.member) { @@ -540,6 +541,5 @@ function styleText(string_id, params) { return params[key]; }); - text = formatToIrcMsg(text); return text; } -- 2.25.1