Skip to content
  • Michael Gratton's avatar
    Fix select-quoting not preserving newlines in some cases · 0f554d23
    Michael Gratton authored and Michael Gratton's avatar Michael Gratton committed
    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.
    0f554d23