HTML being cut off

Hi, I’m posting some HTML to an activity note and sometimes parts of it are getting removed from the saved note. Below is an example.

What I’m wondering is if this is a bug, or by design. And what can I do to avoid having the text cut off?

I posted this:
"note"=>"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body>\n<div class=\"gmail_default\" style=\"font-family:verdana,sans-serif\">Hello Hollie</div>\n<div class=\"gmail_default\" style=\"font-family:verdana,sans-serif\">This is the final email from me. Please give me a call if we can support your business with <span zeum4c7=\"1581364196866\" data-ddnwab=\"1581364196866\" class=\"ng\" data-wpkgv=\"true\">marketing</span> automation.</div>\n<div class=\"gmail_default\" style=\"font-family:verdana,sans-serif\"><br></div>\n<div class=\"gmail_default\" style=\"font-family:verdana,sans-serif\">Robin</div>\n<div><div dir=\"ltr\" class=\"gmail_signature\" data-smartmail=\"gmail_signature\"><div dir=\"ltr\"><div><div dir=\"ltr\"><div><div dir=\"ltr\"><div><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\">\n<div>\n<p><b style=\"font-family:verdana,sans-serif;font-size:x-small\"><br></b></p>\n<p><b style=\"font-family:verdana,sans-serif;font-size:x-small\">Robin Harnett</b><br></p>\n</div>\n<div>\n<div><font face=\"verdana, sans-serif\" size=\"1\"><b>Account Manager</b></font></div>\n<div><b><font face=\"verdana, sans-serif\" size=\"1\"><font color=\"#ff9900\">+1.587.858.5153</font><br></font></b></div>\n<b><font face=\"verdana, sans-serif\" size=\"1\"><a href=\"mailto:Robin.Harnett@ActiveDEMAND.com\" style=\"color:rgb(17,85,204)\" target=\"_blank\"><font color=\"#ff9900\">Robin.Harnett@ActiveDEMAND.com</font></a></font></b><br>\n</div>\n<div>\n<b><font face=\"verdana, sans-serif\" size=\"1\"><a href=\"https://link.activedemand.com/s/OuTj2M1gR3u6nohBDwcq\" style=\"color:rgb(17,85,204)\" target=\"_blank\"><font color=\"#ff9900\">Schedule a call with Robin</font></a></font></b><font color=\"#ff9900\"><b><font face=\"verdana, sans-serif\" size=\"1\"><br></font></b></font><b><font face=\"verdana, sans-serif\" size=\"1\"><a href=\"https://link.activedemand.com/s/X7CzFxYe6a5zi6pSjwGV\" style=\"color:rgb(17,85,204)\" target=\"_blank\"><font color=\"#ff9900\">www.ActiveDEMAND.com</font></a></font></b><font color=\"#ff9900\"><b><font face=\"verdana, sans-serif\" size=\"1\"><br></font></b></font><div><font face=\"verdana, sans-serif\"><br></font></div>\n<div><font face=\"verdana, sans-serif\"><a href=\"https://link.activedemand.com/s/f1w8dCTnqSJu51kenZEr\" style=\"outline:0px\" target=\"_blank\"><img src=\"https://ci4.googleusercontent.com/proxy/PjVPZAkWIBjXVrpTxkZlYfw3v9SFhxknoMYutVm-hX1wpx5dPY_JQTVLgfQ48NZ3DVRsDpXDtj8_LRct3wG1oievJilLhvtfcKMjYb3WGTNphNA=s0-d-e1-ft#https://www.activedemand.com/email/signature/ActiveDEMAND.png\"></a><br></font></div>\n<div><br></div>\n<div>\n<a href=\"https://link.activedemand.com/s/fsuK0yWaj9iJZh1uN0lH\" style=\"outline:0px\" target=\"_blank\"><img src=\"https://ci6.googleusercontent.com/proxy/9DOW9NQxUJa4pE1JUY_EiVQGVqHCEBLKqHduAMFKosJmkE7t7IokAhOTFoB35xztd0ecJlnjSesny2JXBy8EeApNRSojUsGKn2Tws53JHg=s0-d-e1-ft#https://www.activedemand.com/email/signature/facebook.jpg\"></a> <a href=\"https://link.activedemand.com/s/htvMIqkXQ3Ywuw5PZMji\" style=\"outline:0px\" target=\"_blank\"><img src=\"https://ci3.googleusercontent.com/proxy/Q5-nIhxjrIB6hReJFyFk5q-SNUR6XlIuhXnwG2ZCze83YUmGXyR52gmHe1NdKljdk3qr1Ka5CcdYRmWCt2TUjJoEibO6rS7_b_4G-4nQ=s0-d-e1-ft#https://www.activedemand.com/email/signature/twitter.jpg\"></a> <a href=\"https://link.activedemand.com/s/vKBnHDUtaOITCTWGToi4\" style=\"outline:0px\" target=\"_blank\"><img src=\"https://ci4.googleusercontent.com/proxy/O69jbCdBVBBN8wD1P2-AHmGO9jLG5um_ZoP-3ik7RoFrHjQRzApw-jPC_N3ofPX4LGhBrjZTGsPpvNphWDCTFmXts0wDCKapLcLaI2CNSw=s0-d-e1-ft#https://www.activedemand.com/email/signature/linkedin.jpg\"></a><br>\n</div>\n<div><img src=\"https://ci6.googleusercontent.com/proxy/a1cQMSed2ZX3_TbVwdQB05yGa8TG9sODtLECeHcGJaDf9lpqi9bleucQ1SJ37sWgoDKjnraIOM5mXsHRd9ow7cBhuSNVb0t0N42M=s0-d-e1-ft#https://www.activedemand.com/email/signature/text.jpg\"></div>\n</div>\n</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>\n\n \n \n \n</body></html>\n"

And this is what it was changed to:
"note"=>"<div class=\"gmail_default\"></div><div class=\"gmail_default\"><span class=\"ng\">marketing</span>&nbsp;automation.</div><div class=\"gmail_default\"><div class=\"gmail_default\">Robin</div><div><div dir=\"ltr\" class=\"gmail_signature\"><div dir=\"ltr\"><div><div dir=\"ltr\"><div><div dir=\"ltr\"><div><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div><p><b><br></b></p></div><div><div><b>Account Manager</b></div><div><b>+1.587.858.5153<br></b></div><b><a href=\"mailto:[Robin.Harnett@ActiveDEMAND.com](mailto:Robin.Harnett@ActiveDEMAND.com)\">[Robin.Harnett@ActiveDEMAND.com](mailto:Robin.Harnett@ActiveDEMAND.com)</a></b><br></div><div><b><a href=\"[https://link.activedemand.com/s/OuTj2M1gR3u6nohBDwcq\](https://link.activedemand.com/s/OuTj2M1gR3u6nohBDwcq%5C)" target=\"_blank\">Schedule a call with Robin</a></b><b><br></b><b><a href=\"[https://link.activedemand.com/s/X7CzFxYe6a5zi6pSjwGV\](https://link.activedemand.com/s/X7CzFxYe6a5zi6pSjwGV%5C)" target=\"_blank\">[www.ActiveDEMAND.com](http://www.activedemand.com/)</a></b><b><br></b><div><br></div><div><a href=\"[https://link.activedemand.com/s/f1w8dCTnqSJu51kenZEr\](https://link.activedemand.com/s/f1w8dCTnqSJu51kenZEr%5C)"><img src=\"[https://ci4.googleusercontent.com/proxy/PjVPZAkWIBjXVrpTxkZlYfw3v9SFhxknoMYutVm-hX1wpx5dPY_JQTVLgfQ48NZ3DVRsDpXDtj8_LRct3wG1oievJilLhvtfcKMjYb3WGTNphNA=s0-d-e1-ft#https://www.activedemand.com/email/signature/ActiveDEMAND.png\](https://ci4.googleusercontent.com/proxy/PjVPZAkWIBjXVrpTxkZlYfw3v9SFhxknoMYutVm-hX1wpx5dPY_JQTVLgfQ48NZ3DVRsDpXDtj8_LRct3wG1oievJilLhvtfcKMjYb3WGTNphNA=s0-d-e1-ft#https://www.activedemand.com/email/signature/ActiveDEMAND.png%5C)"></a><br></div><div><br></div><div><a href=\"[https://link.activedemand.com/s/fsuK0yWaj9iJZh1uN0lH\](https://link.activedemand.com/s/fsuK0yWaj9iJZh1uN0lH%5C)"><img src=\"[https://ci6.googleusercontent.com/proxy/9DOW9NQxUJa4pE1JUY_EiVQGVqHCEBLKqHduAMFKosJmkE7t7IokAhOTFoB35xztd0ecJlnjSesny2JXBy8EeApNRSojUsGKn2Tws53JHg=s0-d-e1-ft#https://www.activedemand.com/email/signature/facebook.jpg\](https://ci6.googleusercontent.com/proxy/9DOW9NQxUJa4pE1JUY_EiVQGVqHCEBLKqHduAMFKosJmkE7t7IokAhOTFoB35xztd0ecJlnjSesny2JXBy8EeApNRSojUsGKn2Tws53JHg=s0-d-e1-ft#https://www.activedemand.com/email/signature/facebook.jpg%5C)"></a>&nbsp;<a href=\"[https://link.activedemand.com/s/htvMIqkXQ3Ywuw5PZMji\](https://link.activedemand.com/s/htvMIqkXQ3Ywuw5PZMji%5C)"><img src=\"[https://ci3.googleusercontent.com/proxy/Q5-nIhxjrIB6hReJFyFk5q-SNUR6XlIuhXnwG2ZCze83YUmGXyR52gmHe1NdKljdk3qr1Ka5CcdYRmWCt2TUjJoEibO6rS7_b_4G-4nQ=s0-d-e1-ft#https://www.activedemand.com/email/signature/twitter.jpg\](https://ci3.googleusercontent.com/proxy/Q5-nIhxjrIB6hReJFyFk5q-SNUR6XlIuhXnwG2ZCze83YUmGXyR52gmHe1NdKljdk3qr1Ka5CcdYRmWCt2TUjJoEibO6rS7_b_4G-4nQ=s0-d-e1-ft#https://www.activedemand.com/email/signature/twitter.jpg%5C)"></a>&nbsp;<a href=\"[https://link.activedemand.com/s/vKBnHDUtaOITCTWGToi4\](https://link.activedemand.com/s/vKBnHDUtaOITCTWGToi4%5C)"><img src=\"[https://ci4.googleusercontent.com/proxy/O69jbCdBVBBN8wD1P2-AHmGO9jLG5um_ZoP-3ik7RoFrHjQRzApw-jPC_N3ofPX4LGhBrjZTGsPpvNphWDCTFmXts0wDCKapLcLaI2CNSw=s0-d-e1-ft#https://www.activedemand.com/email/signature/linkedin.jpg\](https://ci4.googleusercontent.com/proxy/O69jbCdBVBBN8wD1P2-AHmGO9jLG5um_ZoP-3ik7RoFrHjQRzApw-jPC_N3ofPX4LGhBrjZTGsPpvNphWDCTFmXts0wDCKapLcLaI2CNSw=s0-d-e1-ft#https://www.activedemand.com/email/signature/linkedin.jpg%5C)"></a><br></div><div><img src=\"[https://ci6.googleusercontent.com/proxy/a1cQMSed2ZX3_TbVwdQB05yGa8TG9sODtLECeHcGJaDf9lpqi9bleucQ1SJ37sWgoDKjnraIOM5mXsHRd9ow7cBhuSNVb0t0N42M=s0-d-e1-ft#https://www.activedemand.com/email/signature/text.jpg\](https://ci6.googleusercontent.com/proxy/a1cQMSed2ZX3_TbVwdQB05yGa8TG9sODtLECeHcGJaDf9lpqi9bleucQ1SJ37sWgoDKjnraIOM5mXsHRd9ow7cBhuSNVb0t0N42M=s0-d-e1-ft#https://www.activedemand.com/email/signature/text.jpg%5C)"></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>"