Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to strip formatting from text pasted in the Message HTML field of an email notification record - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to strip formatting from text pasted in the Message HTML field of an email notification record
KB0686053

How to strip formatting from text pasted in the Message HTML field of an email notification record


2032 Views Last updated : Jun 15, 2023 public Copy Permalink
KB Summary by Now Assist

Issue

Text pasted into the Message HTML field of an email notification record may come in with formatting that does not render as expected when converted to HTML.

The formatting that comes with text pasted into a Message HTML field may result in Description Term <dt> and Description List <dl> elements being added to the HTML source code, and this can lead to unwanted line spacing.

This articles covers how to strip the formatting from the text, so that it renders in HTML as expected.

Release

All

Resolution

To remove any unwanted formatting that comes with the text:

1. Copy and paste the text into a text editor that strips formatting, such as Notepad on Windows or Sublime Text on a Mac.

2. In the text editor, organize the text as you'd like, removing any unwanted blank lines.

3. Select All and copy the text from the text editor.

4. Paste the unformatted text into the Message HTML field of the notification record.

5. In the Paste Formatting Options, click Keep Formatting.

Related Links

Email notification shows HTML tags and markup in sent email

HTML renders unexpectedly when viewed from email "Preview HTML Body" and "Notification Preview"


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.