Commit 0f554d23 authored by
Fix select-quoting not preserving newlines in some cases
If the common ancestor of the quoted text is the plain-text-message DIV itself, the isDescendant test fails and the style to preserve new lines is not maintained. This adds a non-strict check to isDescendant and enables that when checking the common ancestor node and a test case for it.
Showing with 32 additions and 11 deletions