Magento escapeHtml() method used to define translate specific text messages in the template files.
You can use the escapeHtml() function to define normal as well as HTML text to translate out of the box in the template.
In the method, the first argument takes data as a text message and the second argument is the array value of specific HTML tags to escape from the string. Continue reading “How to use anchor link in escapeHtml text in magento 2?”