Preserve text on edit ref

This commit is contained in:
M66B 2021-08-17 07:41:30 +02:00
parent 7a407cd884
commit fc6debb507
1 changed files with 5 additions and 2 deletions

View File

@ -1233,8 +1233,11 @@ public class FragmentCompose extends FragmentBase {
p.html(TextUtils.join("<br>", line));
document.body().appendChild(p);
return document.html();
} else
return ref.html(); // Edit-ref
} else {
for (Element element : ref)
document.body().appendChild(element);
return document.html(); // Edit-ref
}
}
@Override