mirror of https://github.com/procxx/kepka.git
Don't replace 'code' tag inside a possible 'pre'.
Partially fixes #4728.
This commit is contained in:
parent
544aef19b4
commit
c23ec41622
|
@ -159,7 +159,7 @@ const std::map<QString, std::vector<int>> &TagFinishIndices() {
|
||||||
{ kTagBold, { kTagBoldIndex, kTagCodeIndex, kTagPreIndex } },
|
{ kTagBold, { kTagBoldIndex, kTagCodeIndex, kTagPreIndex } },
|
||||||
{ kTagItalic, { kTagItalicIndex, kTagCodeIndex, kTagPreIndex } },
|
{ kTagItalic, { kTagItalicIndex, kTagCodeIndex, kTagPreIndex } },
|
||||||
{ kTagCode, { kTagCodeIndex, kTagPreIndex } },
|
{ kTagCode, { kTagCodeIndex, kTagPreIndex } },
|
||||||
{ kTagPre, { kTagCodeIndex, kTagPreIndex } },
|
{ kTagPre, { kTagPreIndex } },
|
||||||
};
|
};
|
||||||
return cached;
|
return cached;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue