Fix bold formatting in the beginning of a quote.

This commit is contained in:
John Preston 2024-03-03 15:17:55 +04:00
parent 14794d2221
commit 7eaf7f8aaa

View file

@ -2125,7 +2125,7 @@ EntitiesInText ConvertTextTagsToEntities(const TextWithTags::Tags &tags) {
openType(EntityType::CustomUrl, nextState.link);
}
}
for (const auto type : kInMaskTypes) {
for (const auto type : kInMaskTypes | ranges::views::reverse) {
if (nextState.has(type) && !state.has(type)) {
openType(type, nextState.language);
}