Skip to content

Magento 2: How can we prevent HTML from being shown in the text that comes from en_US.csv file?

In en-US.csv file in our custom theme, I got a translation as below.

"We'll email you an order confirmation with details and tracking info.","Within 10 minutes we'll send an email to you with your <strong>order number</strong> and complete details.<br />When your order ships we'll email tracking information to you."

The problem is that the HTML does also appear along with the text when the order is placed. How to process HTML but not show the HTML like in the text?