2
votes
Accepted
Magento 2: How can we prevent HTML from being shown in the text that comes from en_US.csv file?
Short answer is no way with translation
In templates where used this translation it will be escaped
For example in default success template
vendor/magento/module-checkout/view/frontend/templates/...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
frontend × 1278magento2 × 645
magento-1.9 × 159
layout × 74
admin × 70
javascript × 69
product × 68
theme × 60
magento2.3 × 57
css × 56
magento-2.1 × 55
module × 51
backend × 50
category × 45
magento2.2 × 39
blocks × 36
magento-1.7 × 34
attributes × 33
php × 31
template × 30
checkout × 29
customer-account × 29
phtml × 27
customer × 26
less × 26