From 83caa0af630d4e99021ed04178d661d1296822fe Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Thu, 7 Mar 2024 09:53:05 +0100 Subject: [PATCH] Remove '?' before '<' and '>' because of UTF16 --- CHANGELOG.md | 1 + linphone-app/src/utils/Utils.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5cffeaee..2b357a388 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Empty route can now be set in account settings. - Network remote file can be used in chat attachment on Windows. - Some crashs. +- Question mark before '<' and '>' - Update SDK to 5.3.26. ### Added diff --git a/linphone-app/src/utils/Utils.cpp b/linphone-app/src/utils/Utils.cpp index 69f36ff20..78673581f 100644 --- a/linphone-app/src/utils/Utils.cpp +++ b/linphone-app/src/utils/Utils.cpp @@ -833,8 +833,8 @@ QString Utils::encodeTextToQmlRichFormat(const QString& text, const QVariantMap& for(int i = 0 ; i < iriParsed.size() ; ++i){ QString iri = iriParsed[i].second.replace('&', "&") - .replace('<', "\u2063<") - .replace('>', "\u2063>") + .replace('<', "⁣<") + .replace('>', "⁣>") .replace('"', """) .replace('\'', "'"); if(!iriParsed[i].first){