I try to send some code samples via Mailchimp, and I've noticed that the []
characters are cut out. If something is inside the brackets, it goes out fine (a space is enough, so [ ]
is fine).
This is the mail I design:
What I see in Gmail:
As you can see, the []
s are cut out.
When I view the mail in a browser (via the "View this email in your browser" link), the brackets are there.
Also if I click "Show original", the brackets are missing:
const result =3D ;
<pre><code>const result =3D ;</code></pre>
<code>const result =3D ;</code>
const result =3D [ ];
<pre><code>const result =3D [ ];</code></pre>
<code>const result =3D [ ];</code>
Because of this, I think Mailchimp is the one removing the brackets and not Gmail. I googled around, but was unable to find out why this is happening. I can reproduce it every time.