From 088e455c8ab9708b4c5e66ad168d6e854d89efce Mon Sep 17 00:00:00 2001
From: Li
Date: Tue, 20 Sep 2022 01:50:06 +1200
Subject: [PATCH] Add HTMLSpecialChars
---
header.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/header.php b/header.php
index 80ad834..332f412 100755
--- a/header.php
+++ b/header.php
@@ -94,6 +94,7 @@
$descsocial = str_replace("
", PHP_EOL, $descsocial);
$descsocial = str_replace("
", PHP_EOL, $descsocial);
$descsocial = str_replace('"', '\\"', $descsocial);
+ $descsocial = htmlspecialchars($descsocial, ENT_QUOTES);
/*
* Write metadata
*/