Claudia M Posted June 28, 2018 Share Posted June 28, 2018 I was looking at my page source and noticed the title is showing as follows. Not really bold, I just highlighted it. It should read Claudia's Bargains. What to do? Thanks in advance! <!DOCTYPE html> <html class="no-js" xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> <head> <title>Claudia's Bargains</title> <meta charset="utf-8"> Nevermind, I just manually typed in the title in my skin/content/main.php file and is shows as it should. <!DOCTYPE html> <html class="no-js" xmlns="http://www.w3.org/1999/xhtml" dir="{$TEXT_DIRECTION}" lang="{$HTML_LANG}"> <head> <title>Claudia's Bargains Collectibles and More Shop</title> Link to comment Share on other sites More sharing options...
vidmarc Posted June 28, 2018 Share Posted June 28, 2018 You're right, it must be something to do with the text encoding. The apostrophe displays correctly on the webpage, but not in the header or Meta. Link to comment Share on other sites More sharing options...
Claudia M Posted June 28, 2018 Author Share Posted June 28, 2018 I also changed the main.checkout file and the print.receipt file. Hope I got them all! Link to comment Share on other sites More sharing options...
vidmarc Posted June 28, 2018 Share Posted June 28, 2018 Apostrophes are not displaying correctly in any of my meta headings. I've been reading about it - it could be caused by a number of reasons. Link to comment Share on other sites More sharing options...
bsmither Posted June 28, 2018 Share Posted June 28, 2018 Web browsers do not decode html entities (' and some others) in the title bar of the application's window. I think it is some kind of security measure. But, as you discovered, you can hard-code whatever you want. However, a more universal solution is to do this: <title>{$META_TITLE|unescape:"htmlall"}</title> On the other hand, my Firefox (v60 on Win7) has the ' entity in the <title> tag, but shows the apostrophe in the browser title bar. YMMV. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.