summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/templates.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-21 18:26:38 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-21 18:26:42 +0300
commit2ad54d3a441e42f187213f1bdec14d61272a3b27 (patch)
tree67595773a10efab1364918562ba4c2bd72aa45d8 /plugins/NewStory/src/templates.cpp
parent0f37294beca58d653704c6885b668f8a41b0ed50 (diff)
for #4289 - fix for a font color in NS
Diffstat (limited to 'plugins/NewStory/src/templates.cpp')
-rw-r--r--plugins/NewStory/src/templates.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp
index 9d73c35d1b..adf7870a50 100644
--- a/plugins/NewStory/src/templates.cpp
+++ b/plugins/NewStory/src/templates.cpp
@@ -135,7 +135,7 @@ CMStringA ItemData::formatHtml(const wchar_t *pwszStr)
auto &F = g_fontTable[fontID];
char szFont[100];
- str.AppendFormat("body {margin: 0px; text-align: left; %s; overflow: auto;}\n", font2html(F.lf, szFont));
+ str.AppendFormat("body {margin: 0px; text-align: left; %s; color: NSText; overflow: auto;}\n", font2html(F.lf, szFont));
str.AppendFormat(".nick {color: #%06X }\n", color2html(g_colorTable[(dbe.flags & DBEF_SENT) ? COLOR_OUTNICK : COLOR_INNICK].cl));
str.Append("</style></head><body class=\"body\">\n");