French characters with accent not displayed correctly in option info popup

  • Posts: 88
  • Thank you received: 0
8 years 7 months ago #255295

-- HikaShop version -- : 2.6.4

Hello,

I have a little problem on the product page with options. When I hover the little i for information, the French characters with accent are not displayed correctly.



How can I correct this ?
Thanks in advance for your help and advise,
Best regards,
Stéphane

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
8 years 7 months ago #255301

Hi,

Change the line:

$description = $this->escape(strip_tags(JHTML::_('content.prepare',$optionInfo->product_description)));
to:
$description = $this->escape(html_entity_decode(strip_tags(JHTML::_('content.prepare',$optionInfo->product_description)), ENT_NOQUOTES | ENT_HTML401, 'UTF-8'));
in the file "option" of the view "product" via the menu Display>Views and that should do it.

The following user(s) said Thank You: steph3838

Please Log in or Create an account to join the conversation.

  • Posts: 88
  • Thank you received: 0
8 years 7 months ago #255329

Thank you so much Nicolas !

This is solved !
Best regards,
Stéphane

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum