summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/NewStory/src/templates.cpp1
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"&lt;");
+ else if (*p == '%') buf.Append(L"&percnt;");
else if (*p == '[') {
p++;
if (*p == 'c') {