diff options
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> |