From 4f4dbfed56df6497cd2ab2824e6bf90f161ab1ce Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Tue, 2 Apr 2024 09:21:20 +0500 Subject: NewStory: crashfix --- plugins/NewStory/src/templates.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/NewStory/src/templates.cpp') diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp index 8e43a93b1c..fbcde80cb1 100644 --- a/plugins/NewStory/src/templates.cpp +++ b/plugins/NewStory/src/templates.cpp @@ -85,6 +85,7 @@ static void AppendString(CMStringW &buf, const wchar_t *p, ItemData *pItem) else if (*p == '&') buf.Append(L"&"); else if (*p == '>') buf.Append(L">"); else if (*p == '<') buf.Append(L"<"); + else if (*p == '%') buf.Append(L"%"); else if (*p == '[') { p++; if (*p == 'c') { -- cgit v1.2.3