diff options
author | ElzorFox <elzorfox@ya.ru> | 2024-04-02 09:21:20 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2024-04-02 09:21:20 +0500 |
commit | 4f4dbfed56df6497cd2ab2824e6bf90f161ab1ce (patch) | |
tree | 96cb344763c25398b11e0d432e754a632c5dc8ba /plugins/NewStory/src/templates.cpp | |
parent | 41d8d958250a1c84927428e8cf654b81cc66f16a (diff) |
NewStory: crashfix
Diffstat (limited to 'plugins/NewStory/src/templates.cpp')
-rw-r--r-- | plugins/NewStory/src/templates.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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') {
|