some html comments are quoted while replying
Many messages that I receive contain html parts looking like
Content-Type: text/html; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<html ... shortened ....>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
2">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
.... shortened ...
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
... shortened.
After replying (in plain text) to such message, the part <!-- /*Font definitions */
etc. up to the coresponding -->
, including the separators, is included in the sent message. It is not visible in the composer during the editing, but it is indeed sent as can be e.g. checked by looking at the copy of the message in the Sent Mail folder.
After short debugging, I landed in src/client/composer/composer-web-view.vala on line 424:
string body_text = WebKitUtil.to_string(
yield call(Geary.JS.callable("geary.getText"), null)
);
When this is called the body contains the message stripped of all the html as it should, but with the part between <!-- -->
contained.