Skip to content

Commit

Permalink
fix: added missing conversion to HTML entities
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Nov 3, 2022
1 parent 1adf42d commit 05520b9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions phpmyfaq/admin/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use phpMyFAQ\Helper\HttpHelper;
use phpMyFAQ\Helper\LanguageHelper;
use phpMyFAQ\Services\Gravatar;
use phpMyFAQ\Strings;
use phpMyFAQ\System;
use phpMyFAQ\Template;

Expand Down Expand Up @@ -230,16 +231,17 @@
<html lang="<?= $PMF_LANG['metaLanguage']; ?>">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<title><?= $faqConfig->getTitle(); ?> - powered by phpMyFAQ <?= System::getVersion() ?></title>
<title>
<?= Strings::htmlentities($faqConfig->getTitle(), ENT_QUOTES) ?> - powered by phpMyFAQ <?= System::getVersion() ?>
</title>
<base href="<?= $faqSystem->getSystemUri($faqConfig) ?>admin/">

<meta name="description" content="Only Chuck Norris can divide by zero.">
<meta name="author" content="phpMyFAQ Team">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="application-name" content="phpMyFAQ <?= $faqConfig->getVersion(); ?>">
<meta name="copyright" content="(c) 2001-<?= date('Y') ?> phpMyFAQ Team">
<meta name="application-name" content="phpMyFAQ <?= System::getVersion() ?>">
<meta name="copyright" content="© 2001-<?= date('Y') ?> phpMyFAQ Team">
<meta name="publisher" content="phpMyFAQ Team">
<meta name="robots" content="<?= $faqConfig->get('seo.metaTagsAdmin') ?>">

Expand Down

0 comments on commit 05520b9

Please sign in to comment.