Error: 'You provided unsafe richtext HTML.' when saving a HubSpot form
Last updated: January 18, 2023
Available with any of the following subscriptions, except where noted:
|
The error You provided unsafe richtext HTML. occurs when you've included HTML tags or attributes that are not permitted in your form.
To resolve this error and save your form, check the source code of the rich text areas in your form against the following:
- Any <script> tags are not permitted and should be removed.
- Any scripting HTML attributes (e.g. 'onmouseover', 'onclick') are not permitted and should be removed.
- All URLs in images must start with 'http://' or 'https://'.
- All link URLs must start with 'http://', 'https://', 'mailto:', or 'tel:'.
- All link tags can only have 'href', 'target', 'name' and 'rel' HTML attributes.
Forms
Thank you for your feedback, it means a lot to us.
This form is used for documentation feedback only. Learn how to get help with HubSpot.
Related content
-
Export your content and data
Learn how to export HubSpot content and data from your account, such as pages, contacts, and files. Please...
Knowledge Base -
Add videos to your HubSpot content
With HubSpot video, you can upload videos to the files tool, then add them to pages, marketing emails, blog...
Knowledge Base -
Create forms
Use forms to gather important information about your visitors and contacts. In HubSpot, you can easily create
Knowledge Base