mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Don't replace 'code' tag inside a possible 'pre'.
Partially fixes #4728.
This commit is contained in:
parent
544aef19b4
commit
c23ec41622
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ const std::map<QString, std::vector<int>> &TagFinishIndices() {
|
|||
{ kTagBold, { kTagBoldIndex, kTagCodeIndex, kTagPreIndex } },
|
||||
{ kTagItalic, { kTagItalicIndex, kTagCodeIndex, kTagPreIndex } },
|
||||
{ kTagCode, { kTagCodeIndex, kTagPreIndex } },
|
||||
{ kTagPre, { kTagCodeIndex, kTagPreIndex } },
|
||||
{ kTagPre, { kTagPreIndex } },
|
||||
};
|
||||
return cached;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue