summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-27 16:55:34 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-27 16:55:39 +0300
commit12b8046c0f04c78944e3b0f77914455b8691ec8b (patch)
tree02c61cd804214fcf4555fb382cad552433b69ee0 /plugins
parent2d56b84e3f9ded33ca3e22f062a8be59aa9f13a4 (diff)
fix for a typo
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') {