Emails getting double classes and "You cannot use two mkto definitions in a single class" errors even when based off a template that doesn't have them.
My template has a line that looks like this:
<img class="img_col img_col_1 mktoImg" ... src="https://www.MYSITE.com/IMAGE.png" mktoName="Img Content" id="imgContent1">
Which is fine and looks fine in the previews. However, when I create a new email based off this template it transforms the previous line into this:
<img class="img_col img_col_1 mktoImg img_col img_col_1 mktoImg" ... src="https://www.MYSITE.com/IMAGE.png" id="imgContent1" mktoname="Img Content" />
As you can see, it doubles the class names for the image, three become six. This happens without any modification to the email itself. Just created a new email, selected the template, checked the source code, and it's there. Naturally, these lines start throwing this error:
"You cannot use two mkto definitions in a single class"
Which makes sense, since the classes are doubled. I first noticed this bug because whenever I changed the image using the visual editor, any other change to text or button elements would cause strange blocks of text started popping up for no reason. These are impossible to remove and cause layout problems both in the previews and in the actual emails received.
Here's a short video of the issue manifesting itself: https://video.drift.com/v/ab17Js1JY06/. At the 2 minute mark, you can see how after modifying the images, the editing of the HREF for the buttons below the text causes these random undeleteable blocks to appear.
I know these two issues could be unrelated, but I don't thing it's coincidental. Editing the buttons and text without changing the images won't trigger the bug.
Any reason for this to happen? I can share the full code of the template if needed, but there's nothing special about it and the markup is correct, I checked it with an HTML tool.