clagnut / webtypography

The source code for WebTypography.net, a practical guide to web typography.
WebTypography.net
Other
827 stars 120 forks source link

small apostrophe fix - php and encoding issue #15

Closed nevanscott closed 10 years ago

nevanscott commented 10 years ago

This should fix a small issue I noticed when some previous changes broke apostrophes in titles when deployed. I think the problem was that the server is running an older version of PHP than I am locally, so I didn't catch it before the last pull request. I reverted to a PHP version that had the same problem I was seeing on the site (PHP 5.2.17), and this change seems to have fixed it.

The problem is visible here: http://webtypography.net/3.1.1