Passwords and field with especial characters are displayed inacurately in email notificationsIssue When there is a notification that sends a user's password, there are some occurrences where user's passwords are truncated in the notification. In the system mailbox, when reviewing the HTML for the email, it shows the correct password, but when rendered, is showing with characters missing. After looking into HTML sanitizing and avoiding escapes in HTML, there is nothing that could cause the issue. Checking the sanitation logs in the instance and don't show any entries related to these emails. For example, the password was designated as '@*af<yu=ks' but was shown in the email delivered as '@*af' with the carriage return removed and the lower line combined with the password.CauseAs the notification preview shows, the characters gets trimmed by the template processor. ResolutionThe issue can be solved by modifying the notification email script to avoid the < and > as they interfere with the HTML tags.The especial characters will be displayed properly with JSUtil.escapeText to escape the problematic data. It will display ok on HTML as it replaces for example < > or & with the HTML equivalent. For more information about JSUtil.escapeText, visit our documentation website page JSUtil - Global and the related KB article ServiceNow JavasScript escape characters