diff options
Diffstat (limited to 'visitors.php')
-rw-r--r-- | visitors.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/visitors.php b/visitors.php index c908ed4..a841d3a 100644 --- a/visitors.php +++ b/visitors.php @@ -621,10 +621,10 @@ function render_form() { <html> <head> <meta charset='utf-8' /> - <meta name=description content="<?= @$config['blurb'] ?>" /> - <meta name='og:name' content="<?= $config['title'] ?>"> - <meta name='og:description' content="<?= @$config['blurb'] ?>"> - <meta name='og:site_name' content="<?= @$config['site_name'] ?>"> + <meta name=description content="<?= htmlentities(@$config['blurb']) ?>" /> + <meta name='og:name' content="<?= htmlentities($config['title']) ?>"> + <meta name='og:description' content="<?= htmlentities(@$config['blurb']) ?>"> + <meta name='og:site_name' content="<?= htmlentities(@$config['site_name']) ?>"> <meta name='og:type' content=website> <title><?= (isset($config['site_name']) ? $config['site_name'].' - ' : '').$config['title'] ?></title> |