From 7627c1bdd4aa2ce06d0a68495e6d5ee1feb07e70 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 19 Apr 2025 15:31:07 +0300 Subject: =?UTF-8?q?fixes=20#4994=20(Telegram:=20=D0=BF=D1=80=D0=BE=D0=B1?= =?UTF-8?q?=D0=BB=D0=B5=D0=BC=D0=B0=20=D1=81=20=D1=82=D0=B5=D0=B3=D0=B0?= =?UTF-8?q?=D0=BC=D0=B8=20=D0=BF=D1=80=D0=B8=20=D0=BF=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D1=81=D1=8B=D0=BB=D0=BA=D0=B5=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/templates.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp index 20564773b1..0f6cc4eb66 100644 --- a/plugins/NewStory/src/templates.cpp +++ b/plugins/NewStory/src/templates.cpp @@ -175,7 +175,9 @@ static void AppendString(CMStringW &buf, const wchar_t *p, ItemData *pItem) if (auto *p2 = wcsstr(p1, L"[/url]")) { CMStringW wszDescr(p1, int(p2 - p1)); - buf.AppendFormat(L"%s", wszUrl.c_str(), wszDescr.c_str()); + buf.AppendFormat(L"", wszUrl.c_str()); + AppendString(buf, wszDescr, pItem); + buf.Append(L""); p = p2 + 5; } } -- cgit v1.2.3