Restrict the CODE tag in journal fields
task australia Updated Sep 10, 2026 1 min read t_RestrictTheCODETagInJrnalFlds.md
You can prevent journal fields from rendering HTML code by disabling support for the [code] tag.
Before you begin
Role required: admin
Procedure
-
Navigate to All > System Properties > UI Properties.
-
Clear the check box for Allow support for embedding HTML code by using the [code] tag (the glide.ui.security.allow_codetag property).
Note: To learn more about this property, see Allow embedded HTML code (instance security hardening) in the Instance Security Hardening Settings.
-
Click Save.
32 lines · 1.2 KB
---
title: Restrict the CODE tag in journal fields
description: You can prevent journal fields from rendering HTML code by disabling support for the \[code\] tag.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/platform-administration/t\_RestrictTheCODETagInJrnalFlds.html
release: australia
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Render journal field entries as HTML, Journal field type, Reference, Field administration, Forms, fields, and lists, Configure core features, Administer the ServiceNow AI Platform]
---
# Restrict the CODE tag in journal fields
You can prevent journal fields from rendering HTML code by disabling support for the `[code]` tag.
## Before you begin
Role required: admin
## Procedure
1. Navigate to **All** > **System Properties** > **UI Properties**.
2. Clear the check box for **Allow support for embedding HTML code by using the \[code\] tag** \(the **glide.ui.security.allow\_codetag** property\).
**Note:** To learn more about this property, see Allow embedded HTML code \(instance security hardening\) in the Instance Security Hardening Settings.
3. Click **Save**.
| title | Restrict the CODE tag in journal fields |
| description | You can prevent journal fields from rendering HTML code by disabling support for the \[code\] tag. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/platform-administration/t\_RestrictTheCODETagInJrnalFlds.html |
| release | australia |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Render journal field entries as HTMLJournal field typeReferenceField administrationFormsfieldsand listsConfigure core featuresAdminister the ServiceNow AI Platform |