aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--viewpost.php2
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('/"/', '&quot;', substr($post, 0, 196)) . "..."; ?>">
</head>
<body>