# HTML code and Email body text showing in preview text

**URL:** <https://integration.keap.com/t/html-code-and-email-body-text-showing-in-preview-text/63972>\
**Category:** Max Classic\
**Created:** [February 11, 2019, 11:30pm UTC](https://integration.keap.com/t/html-code-and-email-body-text-showing-in-preview-text/63972 "2019-02-11T23:30:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kimberleigh\_Schartz](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@Kimberleigh\_Schartz](https://integration.keap.com/u/Kimberleigh_Schartz)\
**Post date:** [February 11, 2019, 11:30pm UTC](https://integration.keap.com/t/html-code-and-email-body-text-showing-in-preview-text/63972/1 "2019-02-11T23:30:22Z")

</div>

When I receive test messages in my Email, it shows the Preview text I assigned, but then it shows the CSS code for the body text and then the body text itself. How can I keep it to just the preview text I assigned? Seems like a system issue?

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [February 12, 2019, 1:29am UTC](https://integration.keap.com/t/html-code-and-email-body-text-showing-in-preview-text/63972/2 "2019-02-12T01:29:21Z")

</div>

This is normally caused by a tag not getting closed/terminated correctly. There are some code view tools online that can help determine if that’s the case.

---

<div class="post-metadata">

**Author:** ![Kimberleigh\_Schartz](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@Kimberleigh\_Schartz](https://integration.keap.com/u/Kimberleigh_Schartz)\
**Post date:** [February 12, 2019, 1:51am UTC](https://integration.keap.com/t/html-code-and-email-body-text-showing-in-preview-text/63972/3 "2019-02-12T01:51:29Z")

</div>

Thanks! I don’t see anything weird, looking through quickly. However, I did not modify code or add any code. I’ve just added modules from the block menu. Is it normal for templates to get corrupted or to have code drop out?

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [February 12, 2019, 11:41am UTC](https://integration.keap.com/t/html-code-and-email-body-text-showing-in-preview-text/63972/4 "2019-02-12T11:41:00Z")

</div>

Then I’d try to copy/paste your content into a new email as occasionally if an email gets corrupted, creating a new one may resolve the issue.

---

<div class="post-metadata">

**Author:** ![Kimberleigh\_Schartz](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@Kimberleigh\_Schartz](https://integration.keap.com/u/Kimberleigh_Schartz)\
**Post date:** [February 12, 2019, 4:30pm UTC](https://integration.keap.com/t/html-code-and-email-body-text-showing-in-preview-text/63972/5 "2019-02-12T16:30:23Z")

</div>

Oh wow. Okay. I’ve actually set up several Emails. The ones that don’t have code in the preview still have text from the Email in the preview. Is there anything that can be done about that?

Thanks!

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [February 12, 2019, 7:04pm UTC](https://integration.keap.com/t/html-code-and-email-body-text-showing-in-preview-text/63972/6 "2019-02-12T19:04:26Z")

</div>

Are you saying it’s happening with multiple emails?

---

<div class="post-metadata">

**Author:** ![Kimberleigh\_Schartz](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@Kimberleigh\_Schartz](https://integration.keap.com/u/Kimberleigh_Schartz)\
**Post date:** [February 12, 2019, 7:35pm UTC](https://integration.keap.com/t/html-code-and-email-body-text-showing-in-preview-text/63972/7 "2019-02-12T19:35:58Z")

</div>

It appears that the issues with code showing up in the preview was from one of the blocks in the template that must have corrupted somehow. I’ve replaced that now and I think that is fixed. However, all of the Emails I’ve set up show the preview text that I keyed in, plus the text from the Email itself when I look at the preview text in the test messages I send out.

Kim
