Issue in product title with special chars in mini cart
Preconditions
- Magento 2.2.2 version
- Php version 7, Linux
- default Luma theme
Steps to reproduce
- create a product titled Fusion Backpack ™
- go to front end the product title comes up correctly as Fusion Backpack ™ then add it to cart
- in the mini cart it shows it as Fusion Backpack ™ and not converting ™ to ™
Expected result
- Mini cart should also show the correct product title after converting the html equivalent to characters
Actual result
@Sunil-Nethues , thank you for your report. We were not able to reproduce this issue by following the steps you provided. Please provide more detailed steps to reproduce or try to reproduce this issue on a clean installation without any extensions if you have.

Hello @magento-engcom-team , i have a fresh installation of v 2.2.2
The site can be seen at http://magento6.newsoftdemo.info/m22.2.2/fusion-backpack.html
@Sunil-Nethues , thanks for you update. We cannot reproduce this issue with sample data too.

@Sunil-Nethues Please let us know how you installed Magento 2.2.2 Using zip file or composer install
I've also reproduced the issue but didn't find the issue with sample data on fresh composer install.
@Ananth747 i have installed the magento2.2.2 using composer. then installed sample data using composer as well. After that i went to admin and changed the product name from Fusion Backpack to Fusion Backpack &trade and then tried to add it in cart. where i saw the issue.
@Sunil-Nethues, thank you for your report. We've acknowledged the issue and added to our backlog.
@Sunil-Nethues this is because Magento just shows the product name as a plain text, not a HTML. But, I ask myself it makes sense if allowing HTML in the product name?
Hi @Sunil-Nethues. Thank you for your report. The issue has been fixed in magento/magento2#13802 by @afirlejczyk in 2.3-develop branch Related commit(s):
The fix will be available with the upcoming 2.3.0 release.
The same issue I could get reproduced in cart summary section of checkout page. To fix that need to update vendor\magento\module-checkout\view\frontend\web\template\summary\item\details.html
Use:
<strong class="product-item-name" data-bind="html: $parent.name"></strong>
instead
<strong class="product-item-name" data-bind="text: $parent.name"></strong>
Hi @Sunil-Nethues. Thank you for your report. The issue has been fixed in magento/magento2#14665 by @ampulos in 2.1-develop branch Related commit(s):
The fix will be available with the upcoming 2.1.15 release.
Hi @Sunil-Nethues. Thank you for your report. The issue has been fixed in magento/magento2#14681 by @ihor-sviziev in 2.2-develop branch Related commit(s):
The fix will be available with the upcoming 2.2.5 release.
It looks to me like the fix only works for products with links? The knockout.js type on the non-link product title also needs changing to html.
I'm running 2.2.7 and this problem has always occurred for us. It was never fixed in 2.2.5
Hi @InternetMedicineMan, Could you report separate issues for that? Thank you!
For anyone having this issue in later versions, make sure that you don't have an extension that is re-introducing the problem. E.g. Aitoc PreOrders v2.2.0 re-introduced the issue via its own version of
view/frontend/web/template/minicart/item/default.html
