Scenario :
As 2023.2, Formula (Text) fields that contain HTML code will only display results as plain text to improve the security of saved searches. You should replace these fields with Formula (HTML) fields, but to further enhance the security of your data, you can prevent all HTML output from being rendered through Formula (Text) fields.
Solution :
By default, Formula (Text) fields that include <script> tags do not display script output. To avoid all HTML output from being rendered for these fields, you can check the Disable HTML in Search Formula (Text) preference at Setup > Company > General Preferences. After you check the box, the HTML restriction is enforced and results for Formula (Text) fields that contain HTML markup display output as plain text.
To change HTML restrictions for search formula (text) fields:
- Go to Setup > Company > General Preferences.
- Check the Disable HTML in Search Formula (Text) box.
- Click Save.