I#2371 - Composer: Added extra quotation level after draft open

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2371
This commit is contained in:
Milan Crha
2023-05-23 14:38:43 +02:00
parent b0e0b2dc6f
commit 212b801b2e

View File

@ -5999,8 +5999,11 @@ EvoEditor.processLoadedContent = function()
}
if (EvoEditor.mode == EvoEditor.MODE_PLAIN_TEXT) {
EvoEditor.convertTags();
EvoEditor.convertParagraphs(document.body, 0, EvoEditor.NORMAL_PARAGRAPH_WIDTH, didCite);
// drafts have paragraphs set as expected
if (!document.body.hasAttribute("data-evo-draft")) {
EvoEditor.convertTags();
EvoEditor.convertParagraphs(document.body, 0, EvoEditor.NORMAL_PARAGRAPH_WIDTH, didCite);
}
if (EvoEditor.MAGIC_LINKS) {
var next;