Hi Ameneh.Maleki,
Quoting this official document -
Handling HTML markup in SharePoint calculated fields:
“The June 2017 Public Update (PU) and later PUs will make blocking a configurable option for on-premises use in SharePoint Server 2016 and SharePoint Server 2013.”
The feature of adding HTML markup or script elements to calculated fields has been blocked by Microsoft since June 13, 2017, and it is no longer available in SharePoint Server 2013.
Consider using custom solutions to achieve similar requirements in SharePoint 2013 or higher version.
Here is a post for your reference:
June 13th 2017 Microsoft blocked handling HTML markup in SharePoint calculated fields
- how to get the same functionality back.
Disclaimer: Microsoft provides third-party contact information to help you find technical support. This contact information may change without
notice. Microsoft does not guarantee the accuracy of this third-party contact information.
---
This “SharePoint 2013 - Using SharePoint Designer, InfoPath and Other Customizations” Forum will be migrating to a new home on Microsoft
Q&A, please refer to this sticky
post for more details.
Best regards,
Chelsea Wu
"SharePoint" forums will be migrating to a new home on Microsoft Q&A
!
We invite you to post new questions in the "SharePoint" forums' new home on
Microsoft Q&A
!