summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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 4212eda602..166a3de63c 100644
--- a/plugins/NewStory/src/templates.cpp
+++ b/plugins/NewStory/src/templates.cpp
@@ -66,10 +66,10 @@ static void AppendString(CMStringW &buf, const wchar_t *p)
p++;
}
else if (*p == '\n') buf.Append(L"<br>");
+ else if (*p == '\"') buf.Append(L"&quot;");
else if (*p == '&') buf.Append(L"&amp;");
else if (*p == '>') buf.Append(L"&gt;");
else if (*p == '<') buf.Append(L"&lt;");
- else if (*p == '&') buf.Append(L"&quot;");
else if (*p == '[') {
p++;
if (*p == 'c') {