HTML Editor deletes and modifies HTML code when pasting HTML code in Email template

HTML Editor deletes and modifies HTML code when pasting HTML code in Email template

This is a major issue, and there's nothing I can do about it.

Please have this code, for example, pasted inside the HTML editor of a new template, and upon saving revisit the HTML editor and notice that there is no code there.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta name="x-apple-disable-message-reformatting">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="telephone=no" name="format-detection">
<title></title>
<!--[if (mso 16)]>
<style type="text/css">
a {text-decoration: none;}
</style>
<![endif]-->
<!--[if gte mso 9]><style>sup { font-size: 100% !important; }</style><![endif]-->
<!--[if !mso]><!-- -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i" rel="stylesheet">
<!--<![endif]-->
</head>

Steps to reproduce the bug:
1. Create new template
2. Edit the template by opening the HTML editor and paste the above code
3. Insert the HTML code and SAVE the template
4. Revisit the template, open the HTML editor and notice that the previously inserted code is gone.

I attach print screens too, although I'm pretty sure you know what this is about.