X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Where is the TITLE tag? (https://forum.x-cart.com/showthread.php?t=64465)

NuAlpha 08-02-2012 04:46 AM

Where is the TITLE tag?
 
Our product pages have titles with characters double escaped. Was trying to fix this but cannot find the title tag anywhere in the templates for the product pages.

Any clues?

qualiteam 08-03-2012 04:16 AM

Re: Where is the TITLE tag?
 
The Title is defined via the Smarty plugin. Please check the -> "include/templater/plugins/function.get_title.php" script.

NuAlpha 08-16-2012 03:46 PM

Re: Where is the TITLE tag?
 
Quote:

Originally Posted by qualiteam
The Title is defined via the Smarty plugin. Please check the -> "include/templater/plugins/function.get_title.php" script.


Thanks!

All I needed to do was change the line:
$title = @htmlspecialchars($title, ENT_QUOTES, $charset);

To be:
$title = @htmlspecialchars($title, ENT_QUOTES, $charset, false);

Why is double encoding the default behavior?


All times are GMT -8. The time now is 02:58 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.