Open Bug 1778889 Opened 3 years ago Updated 3 years ago

Non-quoted reply content incorrectly placed in "moz-cite-prefix" div - can't insert text before quote, when reply is set to start after quote

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

People

(Reporter: rjl, Unassigned)

References

(Blocks 1 open bug)

Details

STR:

  • Composer in HTML format
  • In Account Settings -> Composition & Addressing, set "When quoting" to "start reply below the quote"
  • Reply to a message
  • Place the cursor to the top of the editor, the citation will be the first line of the reply
  • Add some text
  • Save draft and view HTML source

Expected:
Non-quote content should not be included in the "moz-cite-prefix" div.

Actual:
It is.

<body>
    <div class="moz-cite-prefix">fsddsf<br>
      <br>
      On 11/14/19 13:14, hamnahxbaig at gmail.com (Hamnah Baig) wrote:<br>
    </div>

"fsddsf" in this case shouldn't be part of the citation.

Adding blank lines before the citation does not help. The div just grows.

Blocks: tb102found
Summary: Non-quoted reply content incorrectly placed in "moz-cite-prefix" div → Non-quoted reply content incorrectly placed in "moz-cite-prefix" div - can't insert text before quote, when reply is set to start after quote

This has been like this for many releases (ever since M-C switched to <div> as default paragraph separator), not new in 102. There are two workarounds: 1) Use "reply above quote" 2) Use the ThunderHTMLedit add-on, it has a "top" function for exactly this case.

You need to log in before you can comment on or make changes to this bug.