diff options
author | Nathan Lasseter <nathan@4574.co.uk> | 2013-01-14 00:05:43 +0000 |
---|---|---|
committer | Nathan Lasseter <nathan@4574.co.uk> | 2013-01-14 00:05:43 +0000 |
commit | a16ac37d0ff169674a4957940d14f5b5db3fb371 (patch) | |
tree | f9cb2f8a1bd06c17f21848b604967acdc69ec316 /viewpost.php | |
parent | de17420a3bc560202bdd7d27d5ff3448adfd57d8 (diff) |
Fixed quotes in twitter:description
Diffstat (limited to 'viewpost.php')
-rw-r--r-- | viewpost.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewpost.php b/viewpost.php index 865b597..0d26023 100644 --- a/viewpost.php +++ b/viewpost.php @@ -18,7 +18,7 @@ <meta name="twitter:card" content="summary"> <meta name="twitter:url" content="<?php echo "http://{$_SERVER['SERVER_NAME']}{$blogRoot}".$_GET['post']; ?>"> <meta name="twitter:title" content="<?php echo $getpost; ?>"> - <meta name="twitter:description" content="<?php echo substr($post, 0, 196) . "..."; ?>"> + <meta name="twitter:description" content="<?php echo preg_replace('/"/', '"', substr($post, 0, 196)) . "..."; ?>"> </head> <body> |