bsdll Posted September 21, 2016 Share Posted September 21, 2016 My product code has a title of 17" Spanner On the recently viewed list, when you hover it says: More about 17" Spanner This is the blockviewed.tpl code: <h5> <a class="product-name" href="{$viewedProduct->product_link|escape:'html':'UTF-8'}" title="{l s='More about %s' mod='blockviewed' sprintf=[$viewedProduct->name|escape:'html':'UTF-8']}"> {$viewedProduct->name|truncate:250:'...'|escape:'html':'UTF-8'} </a> </h5> How do I fix it so the title displays correctly? Thanks. Link to comment Share on other sites More sharing options...
rocky Posted September 23, 2016 Share Posted September 23, 2016 It's the |escape:'html':'UTF-8' part of the code that it converting the " to " for security reasons. You can remove that part of the code, or maybe you can do a search and replace like |escape:'html':'UTF-8'|replace:'"':'"' so you can maintain the security. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now