When the property "glide.ui.escape_text" is set to false, the kb_home.do displays message, "The content of elements must consist of well-formed character data or markup".

This problem is related to UI Macros: kb_header_search and kb_find_query
function getSysparmQuerySearchTerm()
character "&lt" in for loop need to be changed in "${AMP}lt"

Non-escaped values in the kb_header_search and kb_find_query UI macros prevent the Knowledge search from rendering when searching from a homepage widget or the legacy knowledge portal.

Steps to Reproduce


  1. Set the property glide.ui.escape_text to false.
  2. Enter kb_home.do in the navigation filter.
  3. Perform a search.
  4. Notice that kb_home.do is not properly displayed.


  1. Navigate to System UI > UI Macros.
  2. Find the line below in the kb_header_search and kb_find_query macros:
    • for (i = 0; i < len ; i++) {
  3. Change this line in both UI macro records to:
    • for (i = 0; i ${AMP}lt; len ; i++) {

Related Problem: PRB629756

Seen In

Fuji Patch 1
Fuji Patch 11
Fuji Patch 2 Hot Fix 1
Fuji Patch 3
Fuji Patch 4 Hot Fix 4
Fuji Patch 5
Fuji Patch 7 Hot Fix 5

Fixed In

Fuji Patch 6

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-08-01 07:58:14