2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Removed TextParseRichText.

This commit is contained in:
23rd
2022-01-07 06:50:06 +03:00
committed by John Preston
parent e1aa08b985
commit e11904e05b
14 changed files with 21 additions and 37 deletions

View File

@@ -3019,7 +3019,7 @@ void Session::webpageApplyFields(
qs(data.vdescription().value_or_empty())
};
const auto siteName = qs(data.vsite_name().value_or_empty());
auto parseFlags = TextParseLinks | TextParseMultiline | TextParseRichText;
auto parseFlags = TextParseLinks | TextParseMultiline;
if (siteName == qstr("Twitter") || siteName == qstr("Instagram")) {
parseFlags |= TextParseHashtags | TextParseMentions;
}